Skip to content

Commit 49b0445

Browse files
committed
fix multiline syntax
1 parent 8c23cf9 commit 49b0445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dangerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ else
6262
to_line = node['endline']
6363
line = "#L#{from_line}"
6464
if to_line.to_i > from_line.to_i
65-
line << '-' << to_line
65+
line << '-L' << to_line
6666
end
6767
msg = node.text.lstrip.sub(/\.$/, '')
6868
file = node.parent['name'].sub(pwd, '')
@@ -154,7 +154,7 @@ else
154154
to_line = src['end']
155155
line = "#L#{from_line}"
156156
if to_line.to_i > from_line.to_i
157-
line << '-' << to_line
157+
line << '-L' << to_line
158158
end
159159
msg = node.xpath('./LongMessage').first.text
160160
file = src['sourcepath']

0 commit comments

Comments
 (0)