Merge pull request #156 from slimwang/master

fix:' cannot access the file ' Error
pull/160/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
commit ae3f8f52ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      internal/browingdata/browsingdata.go

@ -63,6 +63,7 @@ func (d *Data) Output(dir, browserName, flag string) {
log.Errorf("%s write to file %s error %s", source.Name(), filename, err.Error()) log.Errorf("%s write to file %s error %s", source.Name(), filename, err.Error())
} }
log.Noticef("output to file %s success", path.Join(dir, filename)) log.Noticef("output to file %s success", path.Join(dir, filename))
f.Close()
} }
} }

Loading…
Cancel
Save