From 72e061af643c18ca27bc2541619783c1ed55088b Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Thu, 29 Sep 2022 14:28:15 +0200 Subject: [PATCH] Fix issue with quotes --- dist/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 =