summaryrefslogtreecommitdiff
path: root/gopher
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-09-07 15:18:09 -0600
committertjpcc <tjp@ctrl-c.club>2023-09-07 15:18:09 -0600
commit9a31ec4710cc47792a1cf1671d3b03b3d923a6aa (patch)
treeeb7070b12188a5e33facbf0e93da44d4b93f325e /gopher
parent29e710836007c8946d636a68b7dfaea6ee44028b (diff)
missing importv1.3.1
Diffstat (limited to 'gopher')
-rw-r--r--gopher/gophermap/extended.go3
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: