Skip to content

Commit 1ccd122

Browse files
committed
Fixing formatting on string arg [skip ci]
1 parent 750ad4a commit 1ccd122

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ function run() {
17031703
core.debug(`Found installation path: ${installationPath}`);
17041704
// x64 and arm64 only exist in one possible location, so no fallback probing
17051705
if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') {
1706-
let toolPath = path.join(installationPath, 'MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe');
1706+
let toolPath = path.join(installationPath, `MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe`);
17071707
core.debug(`Checking for path: ${toolPath}`);
17081708
if (!fs.existsSync(toolPath)) {
17091709
return;

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async function run(): Promise<void> {
7575
if (MSBUILD_ARCH === 'x64' || MSBUILD_ARCH === 'arm64') {
7676
let toolPath = path.join(
7777
installationPath,
78-
'MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe'
78+
`MSBuild\\Current\\Bin\\${MSBUILD_ARCH}\\MSBuild.exe`
7979
)
8080
core.debug(`Checking for path: ${toolPath}`)
8181
if (!fs.existsSync(toolPath)) {

0 commit comments

Comments
 (0)