From f9cad2e448bbb37b1e09c64ea826aaf36873c605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Fri, 19 Apr 2024 06:01:27 +0200 Subject: [PATCH] action: Fix the duplication of the `unknown` filetype (#3258) --- internal/action/infocomplete.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/action/infocomplete.go b/internal/action/infocomplete.go index c373e923..aeca9900 100644 --- a/internal/action/infocomplete.go +++ b/internal/action/infocomplete.go @@ -126,9 +126,6 @@ headerLoop: if strings.HasPrefix("off", input) { suggestions = append(suggestions, "off") } - if strings.HasPrefix("unknown", input) { - suggestions = append(suggestions, "unknown") - } var chosen string if len(suggestions) == 1 {