Expect drive letter only on vanilla windows (#8227)
Merge pull request 8227
This commit is contained in:
parent
03256d7b80
commit
75ae986208
|
@ -82,7 +82,7 @@ module DirectoryHelpers
|
|||
end
|
||||
|
||||
def temp_dir(*subdirs)
|
||||
if Utils::Platforms.windows?
|
||||
if Utils::Platforms.vanilla_windows?
|
||||
drive = Dir.pwd.sub(%r!^([^/]+).*!, '\1')
|
||||
temp_root = File.join(drive, "tmp")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue