mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
feat: respect custom exit code from plugin (#6584)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -130,6 +130,8 @@ func loadPluginCommands() []*cobra.Command {
|
||||
return nil
|
||||
},
|
||||
DisableFlagParsing: true,
|
||||
SilenceUsage: true,
|
||||
SilenceErrors: true,
|
||||
}
|
||||
commands = append(commands, cmd)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user