mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 06:35:09 +00:00
Fix inconsistency withing scriptArguments
This commit is contained in:
parent
57ce9fed6b
commit
40d37ff84f
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -333,7 +333,7 @@ class DotnetCoreInstaller {
|
||||
if (process.env['no_proxy'] != null) {
|
||||
scriptArguments.push(`-ProxyBypassList ${process.env['no_proxy']}`);
|
||||
}
|
||||
scriptArguments.push(`-InstallDir '${DotnetCoreInstaller.installationDirectoryWindows}'`);
|
||||
scriptArguments.push('-InstallDir', DotnetCoreInstaller.installationDirectoryWindows);
|
||||
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
||||
scriptPath =
|
||||
(yield io.which('pwsh', false)) || (yield io.which('powershell', true));
|
||||
|
@ -209,7 +209,8 @@ export class DotnetCoreInstaller {
|
||||
}
|
||||
|
||||
scriptArguments.push(
|
||||
`-InstallDir '${DotnetCoreInstaller.installationDirectoryWindows}'`
|
||||
'-InstallDir',
|
||||
DotnetCoreInstaller.installationDirectoryWindows
|
||||
);
|
||||
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
||||
scriptPath =
|
||||
|
Loading…
x
Reference in New Issue
Block a user