mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: if tmp is missing create it
Some scripts and people may be nuking the entire tmp folder
This commit is contained in:
@@ -30,6 +30,7 @@ def ensure_cache_clean!
|
|||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
FileUtils.mkdir_p(RAILS_ROOT + "/tmp")
|
||||||
File.write(hash_file, supersha_hash)
|
File.write(hash_file, supersha_hash)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user