Revert "style: run rubocop -a" (#8676)

Merge pull request 8676
This commit is contained in:
Kelvin M. Klann 2021-05-16 20:00:53 +00:00 committed by GitHub
parent 0274943bcd
commit 7e350ac031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,7 @@ 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?
@ -171,6 +172,7 @@ 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