From 1ccd12233c43ded26d9d5634933bd324ac5d5d95 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Mon, 7 Nov 2022 17:16:50 -0700 Subject: [PATCH] Fixing formatting on string arg [skip ci] --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index ddbe47d..2b30209 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1703,7 +1703,7 @@ function run() { core.debug(`Found installation path: ${installationPath}`); // x64 and arm64 only exist in one possible location, so no fallback probing if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') { - let toolPath = path.join(installationPath, 'MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe'); + let toolPath = path.join(installationPath, `MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe`); core.debug(`Checking for path: ${toolPath}`); if (!fs.existsSync(toolPath)) { return; diff --git a/src/main.ts b/src/main.ts index 8237e14..5668bba 100644 --- a/src/main.ts +++ b/src/main.ts @@ -75,7 +75,7 @@ async function run(): Promise { if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') { let toolPath = path.join( installationPath, - 'MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe' + `MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe` ) core.debug(`Checking for path: ${toolPath}`) if (!fs.existsSync(toolPath)) {