Skip to content

Commit

Permalink
chore: First implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Jefferson <[email protected]>
  • Loading branch information
riosje committed Feb 26, 2024
1 parent b3da44f commit cc98c8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32732,7 +32732,7 @@ async function setupNsolid({ nodeVersion, nsolidVersion, platform, arch }) {
toolPath = external_path_.join(core.toWin32Path(toolPath));
core.addPath(toolPath);
core.info(`Added N|Solid to the PATH: ${toolPath}`);
await exec.exec(`Set-Alias -Name node -Value ${toolPath}nsolid.exe -Option AllScope`);
await exec.exec(`Set-Alias -Name node -Value ${toolPath}/nsolid.exe -Option AllScope`);
return
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function setupNsolid({ nodeVersion, nsolidVersion, platform, arch }
toolPath = path.join(core.toWin32Path(toolPath));
core.addPath(toolPath);
core.info(`Added N|Solid to the PATH: ${toolPath}`);
await exec.exec(`Set-Alias -Name node -Value ${toolPath}nsolid.exe -Option AllScope`);
await exec.exec(`Set-Alias -Name node -Value ${toolPath}/nsolid.exe -Option AllScope`);
return
}

Expand Down

0 comments on commit cc98c8f

Please sign in to comment.