We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd81d42 commit eae15e3Copy full SHA for eae15e3
cmd/protolock/main.go
@@ -121,14 +121,14 @@ func status(cfg *protolock.Config) {
121
if *plugins != "" {
122
report, err = runPlugins(*plugins, report)
123
if err != nil {
124
- fmt.Println(err)
+ fmt.Println("[protolock]:", err)
125
os.Exit(1)
126
}
127
128
129
code, err := protolock.HandleReport(report, os.Stdout, err)
130
- if err != nil {
131
+ if err != protolock.ErrWarningsFound && err != nil {
132
133
134
0 commit comments