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…
Reference in New Issue