Skip to content

Commit

Permalink
fix: let fallback helper return the actual value
Browse files Browse the repository at this point in the history
  • Loading branch information
tessig authored and bastianccm committed Nov 22, 2022
1 parent 1937457 commit d3528fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,6 @@ func emptyFallback(s, fallback string) string {
if s == "" {
return fallback
}
return ""

return s
}

0 comments on commit d3528fc

Please sign in to comment.