Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 22, 2020
1 parent c009e0d commit 4f9f615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ for (const env of Object.keys(process.env).filter(e => /^npm_/.test(e))) {
// test is just run directly, which is also acceptable.
const cmd = process.env.npm_lifecycle_event === 'test' ? 'test'
: 'run-script'
console.error('CHECKING CMD ENV', process.env)
t.match(process.env[env], cmd)
}
delete process.env[env]
Expand Down

0 comments on commit 4f9f615

Please sign in to comment.