From feac796c1930e20294d4fc69c771fe21310417b7 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Wed, 24 Jun 2020 00:32:41 +0200 Subject: [PATCH] Fix syntax error --- file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file.go b/file.go index ee9ec57..dd7470d 100644 --- a/file.go +++ b/file.go @@ -137,7 +137,7 @@ func saveLinks(fp *FilePages) error { results = append(results, Document{page.Title}) } - f, err := os.Create(filepath.Join(fp.dirname, LinksFile) + f, err := os.Create(filepath.Join(fp.dirname, LinksFile)) if err != nil { return err } @@ -194,7 +194,7 @@ func saveDocuments(fp *FilePages) error { }) } - f, err := os.Create(filepath.Join(fp.dirname, DocumentsFile) + f, err := os.Create(filepath.Join(fp.dirname, DocumentsFile)) if err != nil { return err }