Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Triple-Z committed Sep 15, 2024
1 parent 8ceb05e commit e0378d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/analyser/wechat/wechat.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ func (w Wechat) GetAccountsAndTags(o *ir.Order, cfg *config.Config, target, prov
if r.Time != nil {
match, err = util.SplitFindTimeInterval(*r.Time, o.PayTime, match)
if err != nil {
log.Fatalf(err.Error())
log.Fatalf("Error in SplitFindTimeInterval: %v", err)
}
}
if r.TimestampRange != nil {
match, err = util.SplitFindTimeStampInterval(*r.TimestampRange, o.PayTime, match)
if err != nil {
log.Fatalf(err.Error())
log.Fatalf("Error in SplitFindTimeStampInterval: %v", err)
}
}
if r.MinPrice != nil && o.Money < *r.MinPrice {
Expand Down

0 comments on commit e0378d8

Please sign in to comment.