diff options
-rw-r--r-- | gopher/gophermap/extended.go | 3 |
1 files changed, 2 insertions, 1 deletions
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: |