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