We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 994a278 commit 339c780Copy full SHA for 339c780
test/bin/apply.js
@@ -22,7 +22,9 @@ t.afterEach(() => {
22
process.env.npm_config_global = _global
23
process.env.npm_config_local_prefix = _prefix
24
global.console = _console
25
- delete process.exitCode
+ if (process.exitCode) {
26
+ process.exitCode = 0
27
+ }
28
})
29
30
t.test('when npm_config_local_prefix is unset, does nothing', async (t) => {
test/bin/check.js
@@ -20,7 +20,9 @@ t.afterEach(() => {
20
21
errors.length = 0
t.test('no local prefix', async (t) => {
0 commit comments