Rebuild action
This commit is contained in:
parent
2fb974523e
commit
cf1d9cb755
|
@ -335,8 +335,7 @@ class DotnetCoreInstaller {
|
|||
}
|
||||
scriptArguments.push(`-InstallDir '${DotnetCoreInstaller.installationDirectoryWindows}'`);
|
||||
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
||||
scriptPath =
|
||||
(yield io.which('powershell', false)) || (yield io.which('pwsh', true));
|
||||
scriptPath = yield io.which('powershell', true);
|
||||
scriptArguments = [...windowsDefaultOptions, scriptArguments.join(' ')];
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue