Skip to content

Commit

Permalink
Addressed review comments (dcodeIO#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
javihernandez committed Nov 10, 2020
1 parent 7358d3c commit 4aa073e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
- name: Check
run: |
node -v
node -e 'console.log(process.arch)'
npm -v
if ((node -e 'console.log(process.arch)') -ne 'ia32') { exit 1 }
# windows-nvmrc:
# runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function resolveVersion(version, mirror) {
let mirror = core.getInput("node-mirror") || "https://nodejs.org/dist/";
let version = await resolveVersion(core.getInput("node-version"), mirror);
if (process.platform == "win32") {
let arch = core.getInput("node-arch") || null;
let arch = core.getInput("node-arch") || "";
runScript("powershell", ".\\install.ps1", version, mirror, arch);
} else {
runScript("bash", "install.sh", version, mirror);
Expand Down

0 comments on commit 4aa073e

Please sign in to comment.