Skip to content

Commit ae3f8f5

Browse files
authored
Merge pull request #156 from slimwang/master
fix:' cannot access the file ' Error
2 parents f26fb68 + 29970d7 commit ae3f8f5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/browingdata/browsingdata.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func (d *Data) Output(dir, browserName, flag string) {
6363
log.Errorf("%s write to file %s error %s", source.Name(), filename, err.Error())
6464
}
6565
log.Noticef("output to file %s success", path.Join(dir, filename))
66+
f.Close()
6667
}
6768
}
6869

0 commit comments

Comments
 (0)