mirror of https://github.com/spf13/cobra.git
fix linting
This commit is contained in:
parent
41b8340b2b
commit
0d550c15a8
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue