mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
Return nil by default in preRunE
This commit is contained in:
parent
77f5b8b4ec
commit
8e60c0514a
1 changed files with 2 additions and 0 deletions
|
@ -805,6 +805,8 @@ func (c *Command) preRunE() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute uses the args (os.Args[1:] by default)
|
// Execute uses the args (os.Args[1:] by default)
|
||||||
|
|
Loading…
Add table
Reference in a new issue