Skip to content

Commit

Permalink
修复导出bug fix #125
Browse files Browse the repository at this point in the history
  • Loading branch information
keac committed Jul 23, 2024
1 parent 8d49a99 commit 9bb2dda
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ func RunEnumeration(options *common.ENOptions) {
}
}()
wg.Wait()
err := common.OutFileByEnInfo(enDataList, options.KeyWord, options.OutPutType, options.Output)
if err != nil {
gologger.Error().Msgf(err.Error())
if !options.IsNoMerge {
err := common.OutFileByEnInfo(enDataList, options.KeyWord, options.OutPutType, options.Output)
if err != nil {
gologger.Error().Msgf(err.Error())
}
}

} else if options.IsApiMode {
Expand Down

0 comments on commit 9bb2dda

Please sign in to comment.