mirror of
https://github.com/spf13/cobra
synced 2025-04-27 17:17:20 +00:00
Fixed the ShellCompDirectiveNoFileComp case
This commit is contained in:
parent
1df1dbd552
commit
da1bab9757
1 changed files with 0 additions and 6 deletions
|
@ -109,12 +109,6 @@ let cobra_completer = {|spans|
|
||||||
} else {
|
} else {
|
||||||
$completions
|
$completions
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($completions | is-empty) {
|
|
||||||
null
|
|
||||||
} else {
|
|
||||||
$completions
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue