mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 07:55:41 +08:00
expand tmp for osx
This commit is contained in:
parent
db9a44d4b5
commit
a018eed611
@ -7,7 +7,7 @@ class GitImporter
|
||||
if @url.start_with?("https://github.com") && !@url.end_with?(".git")
|
||||
@url += ".git"
|
||||
end
|
||||
@temp_folder = "#{Dir.tmpdir}/discourse_theme_#{SecureRandom.hex}"
|
||||
@temp_folder = "#{Pathname.new(Dir.tmpdir).realpath}/discourse_theme_#{SecureRandom.hex}"
|
||||
end
|
||||
|
||||
def import!
|
||||
|
Loading…
x
Reference in New Issue
Block a user