diff --git a/cmd/args.go b/cmd/args.go index 7ccb64f..253607d 100644 --- a/cmd/args.go +++ b/cmd/args.go @@ -319,8 +319,10 @@ var rootCmd = &cobra.Command{ return err } - settings, _ := ValidateAndConfigureRun(args, cmd, repoSettings) - // TODO Validate that you can find all the files + settings, err := ValidateAndConfigureRun(args, cmd, repoSettings) + if err != nil { + return err + } // Check all labels exist if settings.PrSettings != nil && len(settings.PrSettings.Labels) > 0 { diff --git a/cmd/execute.go b/cmd/execute.go index 3e8238a..527ec7c 100644 --- a/cmd/execute.go +++ b/cmd/execute.go @@ -11,7 +11,7 @@ import ( ) // VERSION number: changed in CI -const VERSION = "v0.1.2" +const VERSION = "v0.1.3" var rootPath string var repo repository.Repository