Skip to content

Commit ea496c8

Browse files
authored
fix: setting process.env to child_pocess (actions#24)
1 parent 16ddff4 commit ea496c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ test('wait 500 ms', async() => {
1919
test('test runs', () => {
2020
process.env['INPUT_MILLISECONDS'] = 500;
2121
const ip = path.join(__dirname, 'index.js');
22-
console.log(cp.execSync(`node ${ip}`).toString());
22+
console.log(cp.execSync(`node ${ip}`, { env: process.env }).toString());
2323
})

0 commit comments

Comments
 (0)