diff --git a/dist/index.js b/dist/index.js index 7e051ae..88fb1fb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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)); diff --git a/src/installer.ts b/src/installer.ts index 8b4ee38..b0c980c 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -210,7 +210,7 @@ export class DotnetCoreInstaller { scriptArguments.push( '-InstallDir', - `'${DotnetCoreInstaller.installationDirectoryWindows}'` + `${DotnetCoreInstaller.installationDirectoryWindows}` ); // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used scriptPath =