Skip to content

Commit

Permalink
Revert "fix: NoneLog should exclude printing message not include (#168)"
Browse files Browse the repository at this point in the history
This reverts commit a5fbf1d.
  • Loading branch information
bjartek committed Jun 21, 2024
1 parent a5fbf1d commit a7ca7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func (o *OverflowState) CreateAccountsE(ctx context.Context) (*OverflowState, er
messages = append(messages, "with flow:", fmt.Sprintf("%.2f", o.NewUserFlowAmount))
}

if o.PrintOptions != nil && o.LogLevel != output.NoneLog {
if o.PrintOptions != nil && o.LogLevel == output.NoneLog {
fmt.Println(strings.Join(messages, " "))
}
}
Expand Down

0 comments on commit a7ca7e5

Please sign in to comment.