Skip to content

Commit 1b71c6b

Browse files
committed
Appease Rubocop
1 parent 5b9692b commit 1b71c6b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

lib/jekyll-gist/gist_tag.rb

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ def render(context)
2626
script_tag = gist_script_tag(gist_id, filename)
2727
"#{noscript_tag}#{script_tag}"
2828
else
29-
raise ArgumentError, <<-EOS
30-
Syntax error in tag 'gist' while parsing the following markup:
29+
raise ArgumentError, <<~ERROR
30+
Syntax error in tag 'gist' while parsing the following markup:
3131
32-
#{@markup}
32+
#{@markup}
3333
34-
Valid syntax:
35-
{% gist user/1234567 %}
36-
{% gist user/1234567 foo.js %}
37-
{% gist 28949e1d5ee2273f9fd3 %}
38-
{% gist 28949e1d5ee2273f9fd3 best.md %}
39-
EOS
34+
Valid syntax:
35+
{% gist user/1234567 %}
36+
{% gist user/1234567 foo.js %}
37+
{% gist 28949e1d5ee2273f9fd3 %}
38+
{% gist 28949e1d5ee2273f9fd3 best.md %}
39+
40+
ERROR
4041
end
4142
end
4243

0 commit comments

Comments
 (0)