Skip to content

Commit 9ef2153

Browse files
committed
Fix condition, 0 is truethy in Ruby [ci skip]
1 parent 480d037 commit 9ef2153

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sample/uumerge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323
end
2424

25-
raise "missing begin" unless $sawbegin
25+
raise "missing begin" unless $sawbegin > 0
2626

2727
out.binmode
2828
while line = gets()

0 commit comments

Comments
 (0)