Skip to content

Commit 9bb2dda

Browse files
committed
修复导出bug fix #125
1 parent 8d49a99 commit 9bb2dda

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

runner/runner.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ func RunEnumeration(options *common.ENOptions) {
7474
}
7575
}()
7676
wg.Wait()
77-
err := common.OutFileByEnInfo(enDataList, options.KeyWord, options.OutPutType, options.Output)
78-
if err != nil {
79-
gologger.Error().Msgf(err.Error())
77+
if !options.IsNoMerge {
78+
err := common.OutFileByEnInfo(enDataList, options.KeyWord, options.OutPutType, options.Output)
79+
if err != nil {
80+
gologger.Error().Msgf(err.Error())
81+
}
8082
}
8183

8284
} else if options.IsApiMode {

0 commit comments

Comments
 (0)