bin/review-validate in review-1.7.2 vs bin/review-validate in review-2.0.0.beta1
- old
+ new
@@ -13,10 +13,10 @@
maxcolcount = 0
colcount = 0
ln = 0
ARGF.each {|line|
- ln += 1
+ ln = ln + 1
if line =~ /\A\/\/([a-z]+).+\{/
# block
_block = $1
puts "#{ln}: block #{_block} started, but previous block #{block} didn't close yet." unless block.nil?
block = _block