mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
DEV: if tmp is missing create it
Some scripts and people may be nuking the entire tmp folder
This commit is contained in:
parent
dd89a13e22
commit
9652fdd111
|
@ -30,6 +30,7 @@ def ensure_cache_clean!
|
|||
puts
|
||||
end
|
||||
|
||||
FileUtils.mkdir_p(RAILS_ROOT + "/tmp")
|
||||
File.write(hash_file, supersha_hash)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user