From 1a12142d14d4bf471e2fab976fc998f575f0458f Mon Sep 17 00:00:00 2001 From: Florian Klampfer Date: Mon, 25 May 2020 13:26:54 +0700 Subject: [PATCH] Fix code style --- lib/jekyll-include-cache/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll-include-cache/tag.rb b/lib/jekyll-include-cache/tag.rb index 2b85eca..6cac15f 100644 --- a/lib/jekyll-include-cache/tag.rb +++ b/lib/jekyll-include-cache/tag.rb @@ -43,7 +43,7 @@ def quick_hash(params) md5 = Digest::MD5.new - params.each do |key, value| + params.sort.each do |_, value| # Using the fact that Jekyll documents don't change during a build. # Instead of calculating the hash of an entire document (expensive!) # we just use its object id.