Fixing formatting on string arg [skip ci]

This commit is contained in:
Tim Heuer 2022-11-07 17:16:50 -07:00
parent 750ad4a08c
commit 1ccd12233c
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -1703,7 +1703,7 @@ function run() {
core.debug(`Found installation path: ${installationPath}`); core.debug(`Found installation path: ${installationPath}`);
// x64 and arm64 only exist in one possible location, so no fallback probing // x64 and arm64 only exist in one possible location, so no fallback probing
if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') { 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}`); core.debug(`Checking for path: ${toolPath}`);
if (!fs.existsSync(toolPath)) { if (!fs.existsSync(toolPath)) {
return; return;

View File

@ -75,7 +75,7 @@ async function run(): Promise<void> {
if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') { if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') {
let toolPath = path.join( let toolPath = path.join(
installationPath, installationPath,
'MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe' `MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe`
) )
core.debug(`Checking for path: ${toolPath}`) core.debug(`Checking for path: ${toolPath}`)
if (!fs.existsSync(toolPath)) { if (!fs.existsSync(toolPath)) {