Skip to content

Commit

Permalink
Simplify eval for tempmarks option (#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelim-work authored Jan 13, 2024
1 parent ce32bc6 commit 6af2556
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,7 @@ func (e *setExpr) eval(app *app, args []string) {
case "tagfmt":
gOpts.tagfmt = e.val
case "tempmarks":
if e.val != "" {
gOpts.tempmarks = "'" + e.val
} else {
gOpts.tempmarks = "'"
}
gOpts.tempmarks = "'" + e.val
case "timefmt":
gOpts.timefmt = e.val
case "truncatechar":
Expand Down

0 comments on commit 6af2556

Please sign in to comment.