diff options
Diffstat (limited to '')
-rw-r--r-- | plugins/gist_tag.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index f6ebbb30..ee87fcf7 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -82,7 +82,7 @@ module Jekyll https.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new raw_uri.request_uri data = https.request request - if data.code != 200 + if Integer(data.code) != 200 raise RuntimeError, "Gist replied with #{data.code} for #{gist_url}" end data = data.body |