From 9a31ec4710cc47792a1cf1671d3b03b3d923a6aa Mon Sep 17 00:00:00 2001 From: tjpcc Date: Thu, 7 Sep 2023 15:18:09 -0600 Subject: missing import --- gopher/gophermap/extended.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gopher/gophermap/extended.go b/gopher/gophermap/extended.go index e1db9dc..9692c51 100644 --- a/gopher/gophermap/extended.go +++ b/gopher/gophermap/extended.go @@ -4,6 +4,7 @@ import ( "bufio" "bytes" "errors" + "fmt" "io" "net/url" "os" @@ -186,7 +187,7 @@ func (edoc *ExtendedMapDocument) Compatible(cwd string, settings FileSystemSetti case ExtensionType: from, to, found := strings.Cut(item.Display, "=") if !found { - return nil, "", InvalidLine(num+1) + return nil, "", InvalidLine(num + 1) } extensions[from] = types.Status(to[0]) case UserListType: -- cgit v1.2.3