diff --git a/lib/jekyll/cache.rb b/lib/jekyll/cache.rb index be9a1893..e688c2ed 100644 --- a/lib/jekyll/cache.rb +++ b/lib/jekyll/cache.rb @@ -163,7 +163,6 @@ module Jekyll # Load `path` from disk and return the result. # This MUST NEVER be called in Safe Mode - # rubocop:disable Security/MarshalLoad def load(path) raise unless disk_cache_enabled? @@ -172,7 +171,6 @@ module Jekyll cached_file.close value end - # rubocop:enable Security/MarshalLoad # Given a path and a value, save value to disk at path. # This should NEVER be called in Safe Mode