This commit is contained in:
parent
aa980baf50
commit
feac796c19
4
file.go
4
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user