parent
827bfcff58
commit
5d35cf217b
|
|
@ -163,7 +163,6 @@ module Jekyll
|
||||||
|
|
||||||
# Load `path` from disk and return the result.
|
# Load `path` from disk and return the result.
|
||||||
# This MUST NEVER be called in Safe Mode
|
# This MUST NEVER be called in Safe Mode
|
||||||
# rubocop:disable Security/MarshalLoad
|
|
||||||
def load(path)
|
def load(path)
|
||||||
raise unless disk_cache_enabled?
|
raise unless disk_cache_enabled?
|
||||||
|
|
||||||
|
|
@ -172,7 +171,6 @@ module Jekyll
|
||||||
cached_file.close
|
cached_file.close
|
||||||
value
|
value
|
||||||
end
|
end
|
||||||
# rubocop:enable Security/MarshalLoad
|
|
||||||
|
|
||||||
# Given a path and a value, save value to disk at path.
|
# Given a path and a value, save value to disk at path.
|
||||||
# This should NEVER be called in Safe Mode
|
# This should NEVER be called in Safe Mode
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue