mirror of https://github.com/spf13/cobra.git
Fixed the ShellCompDirectiveNoFileComp case
This commit is contained in:
parent
1df1dbd552
commit
da1bab9757
|
@ -109,12 +109,6 @@ let cobra_completer = {|spans|
|
|||
} else {
|
||||
$completions
|
||||
}
|
||||
|
||||
if ($completions | is-empty) {
|
||||
null
|
||||
} else {
|
||||
$completions
|
||||
}
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue