Skip to content

Commit f17cfd2

Browse files
committed
C style check
1 parent cd6c3a8 commit f17cfd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/jekyll-gist/gist_tag.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ class GistTag < Liquid::Tag
55
def render(context)
66
if tag_contents = determine_arguments(@markup.strip)
77
gist_id, filename = tag_contents[0], tag_contents[1]
8-
if context.key?(gist_id)
8+
if context[gist_id]
99
gist_id = context[gist_id]
1010
end
11-
if context.key?(filename)
11+
if context[filename]
1212
filename = context[filename]
1313
end
1414
gist_script_tag(gist_id, filename)

0 commit comments

Comments
 (0)