Skip to content

Commit

Permalink
Expect drive letter only on vanilla windows (#8227)
Browse files Browse the repository at this point in the history
Merge pull request 8227
  • Loading branch information
ashmaroli committed Jun 5, 2020
1 parent 03256d7 commit 75ae986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helper.rb
Expand Up @@ -82,7 +82,7 @@ def test_dir(*subdirs)
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
Expand Down

0 comments on commit 75ae986

Please sign in to comment.