lib/xlint.rb in xlint-0.0.5 vs lib/xlint.rb in xlint-0.0.6
- old
+ new
@@ -88,10 +88,10 @@
result
end
# expects git header in the form of: @@ -215,13 +215,7 @@
def starting_line_number(header)
- str = header.split(' ')[1].split(',')[0]
+ str = header.split(' ')[2].split(',')[0]
str.slice!('-')
str.to_i
end
# only checks for deployment target changes,