Fix syntax error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-06-24 00:32:41 +02:00
parent aa980baf50
commit feac796c19

View File

@ -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
}