From 5e5b7453118ea64f14b6ccd780855c541bc521ee Mon Sep 17 00:00:00 2001 From: Jefferson Date: Mon, 26 Feb 2024 12:19:14 -0500 Subject: [PATCH] chore: First implementation Signed-off-by: Jefferson --- dist/setup/index.js | 2 +- src/lib/install.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 7df117f..20d2f54 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -32731,7 +32731,7 @@ async function setupNsolid({ nodeVersion, nsolidVersion, platform, arch }) { if (metadata.platform === "win32") { toolPath = external_path_.join(core.toWin32Path(toolPath)); core.addPath(toolPath); - await exec.exec('Set-Alias -Name node -Value nsolid'); + await exec.exec('Set-Alias -Name node -Value nsolid.exe -Option AllScope'); return } diff --git a/src/lib/install.js b/src/lib/install.js index c21231a..c0b044d 100644 --- a/src/lib/install.js +++ b/src/lib/install.js @@ -21,7 +21,7 @@ export async function setupNsolid({ nodeVersion, nsolidVersion, platform, arch } if (metadata.platform === "win32") { toolPath = path.join(core.toWin32Path(toolPath)); core.addPath(toolPath); - await exec.exec('Set-Alias -Name node -Value nsolid'); + await exec.exec('Set-Alias -Name node -Value nsolid.exe -Option AllScope'); return }