diff options
| author | Nikhita Raghunath <nikitaraghunath@gmail.com> | 2019-07-30 19:23:08 +0530 |
|---|---|---|
| committer | Nikhita Raghunath <nikitaraghunath@gmail.com> | 2019-07-30 19:36:13 +0530 |
| commit | a33d5ffe2307a0a458d883938c97249a5ca969a4 (patch) | |
| tree | 75d8c097b3ac20a3499a6a26f90ea71bfd69593f | |
| parent | 562650a5a345f58a282a4627c464db64657fa50f (diff) | |
generator: enable validation for sigs.yaml
| -rw-r--r-- | generator/app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/app.go b/generator/app.go index 371add2a..a5f05b1f 100644 --- a/generator/app.go +++ b/generator/app.go @@ -468,9 +468,9 @@ func main() { errs := ctx.Validate() if len(errs) != 0 { for _, err := range errs { - fmt.Printf("NOTICE: %s\n", err.Error()) + fmt.Printf("ERROR: %s\n", err.Error()) } - fmt.Println("NOTICE: validation errors are ignored at present") + os.Exit(1) } // Write the Context struct back to yaml to enforce formatting |
