Expect drive letter only on vanilla windows (#8227)

Merge pull request 8227
This commit is contained in:
Ashwin Maroli
2020-06-05 12:35:12 +05:30
committed by GitHub
parent 03256d7b80
commit 75ae986208

View File

@@ -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