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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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