Skip to content

Commit

Permalink
improve logic flow in hasSpace helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
bowman2001 committed Mar 21, 2024
1 parent 40203bd commit 95e14c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ func hasSpace(line []byte) bool {
for i := 1; i < len(line); i++ {
c := line[i]
if c == marker {
return false
break
}
if util.IsSpace(c) {
return true
Expand Down

0 comments on commit 95e14c0

Please sign in to comment.