fix linting

This commit is contained in:
Andre Mueller 2024-10-25 11:18:59 +02:00
parent 41b8340b2b
commit 0d550c15a8
2 changed files with 5 additions and 5 deletions

View File

@ -43,10 +43,10 @@ var initializers []func()
var finalizers []func()
const (
defaultPrefixMatching = false
defaultCommandSorting = true
defaultCaseInsensitive = false
defaultTraverseRunHooks = false
defaultPrefixMatching = false
defaultCommandSorting = true
defaultCaseInsensitive = false
defaultTraverseRunHooks = false
defaultErrorOnUnknownSubcommand = false
)

View File

@ -34,7 +34,7 @@ func preExecHook(c *Command) {
time.Sleep(MousetrapDisplayDuration)
} else {
c.Println("Press return to continue...")
fmt.Scanln()
_, _ = fmt.Scanln()
}
os.Exit(1)
}