mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Expect drive letter only on vanilla windows (#8227)
Merge pull request 8227
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user