mirror of
https://github.com/spf13/cobra.git
synced 2024-12-19 01:55:03 -07:00
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
Block a user