Skip to content

Commit c9cb492

Browse files
committed
Test empty current-directory search opt-out
1 parent ebeb627 commit c9cb492

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/arguments/command-resolution.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ if (isWindows) {
295295
env: {
296296
Path: binaryDirectory,
297297
PathExt: '.CMD',
298-
[environmentName]: '1',
298+
[environmentName]: '',
299299
},
300300
};
301301
const {stdout} = await execa(command, options);
@@ -305,7 +305,7 @@ if (isWindows) {
305305
t.is(stdoutSync, 'PATH');
306306

307307
delete options.env[environmentName];
308-
process.env[environmentName] = '1';
308+
process.env[environmentName] = '';
309309
const {stdout: parentEnvironmentStdout} = await execa(command, options);
310310
t.is(parentEnvironmentStdout, 'PATH');
311311

0 commit comments

Comments
 (0)