bin/review-validate in review-1.6.0 vs bin/review-validate in review-1.7.0
- old
+ new
@@ -13,10 +13,10 @@
maxcolcount = 0
colcount = 0
ln = 0
ARGF.each {|line|
- ln = ln + 1
+ 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