Skip to content

Commit f6e2191

Browse files
authored
Update Rakefile
1 parent c57255b commit f6e2191

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ext/sass/Rakefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -696,12 +696,14 @@ module SassConfig
696696
def windows_system_directory
697697
require 'open3'
698698

699-
stdout, stderr, status = Open3.capture3('powershell.exe',
700-
'-NoLogo',
701-
'-NoProfile',
702-
'-NonInteractive',
703-
'-Command',
704-
"[Environment]::GetFolderPath('System') | Write-Host -NoNewline")
699+
stdout, stderr, status = Open3.capture3(
700+
'powershell.exe',
701+
'-NoLogo',
702+
'-NoProfile',
703+
'-NonInteractive',
704+
'-Command',
705+
'[Environment]::GetFolderPath([Environment+SpecialFolder]::System) | Write-Host -NoNewline'
706+
)
705707

706708
raise stderr unless status.success?
707709

0 commit comments

Comments
 (0)