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
|
||||
end
|
||||
|
||||
FileUtils.mkdir_p(RAILS_ROOT + "/tmp")
|
||||
File.write(hash_file, supersha_hash)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user