From da1bab975725502baebef6f04066721f8e52b1cb Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Wed, 11 Dec 2024 17:22:41 -0800 Subject: [PATCH] Fixed the ShellCompDirectiveNoFileComp case --- nushell_completions.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nushell_completions.go b/nushell_completions.go index 7a8962d..d1740d1 100644 --- a/nushell_completions.go +++ b/nushell_completions.go @@ -109,12 +109,6 @@ let cobra_completer = {|spans| } else { $completions } - - if ($completions | is-empty) { - null - } else { - $completions - } } else { null }