mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
fix comment
This commit is contained in:
parent
c03b5c3e9c
commit
219242841f
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ func (p *Project) CmdPath() string {
|
|||
return p.cmdPath
|
||||
}
|
||||
|
||||
// findCmdSuffix return the cmd dir start with file path separator
|
||||
// findCmdSuffix returns the cmd dir start with file path separator.
|
||||
func findCmdSuffix(cmdDir string) string {
|
||||
if filepathHasPrefix(cmdDir, string(os.PathSeparator)) {
|
||||
return cmdDir
|
||||
|
|
Loading…
Add table
Reference in a new issue