Skip to content

Commit

Permalink
fix: leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Feb 25, 2024
1 parent b2f5477 commit 8df4edb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const child_process = require('child_process');
const exec = require('@actions/exec');
const semver = require('semver');
const { env } = require('./defs');
const core = require('@actions/core');
const cwd = process.env.GITHUB_WORKSPACE;

Expand All @@ -17,7 +16,7 @@ async function npmVersionCheck() {
},
};
const npmVersionTest1 = child_process
.execSync('npm --version', { cwd, env })
.execSync('npm --version', { cwd })
.toString()
.trim();
await exec.exec('npm --version', [], options);
Expand Down

0 comments on commit 8df4edb

Please sign in to comment.