mirror of
https://github.com/actions/javascript-action.git
synced 2025-04-08 08:19:42 +00:00
fix: setting process.env to child_pocess (#24)
This commit is contained in:
@ -19,5 +19,5 @@ test('wait 500 ms', async() => {
|
||||
test('test runs', () => {
|
||||
process.env['INPUT_MILLISECONDS'] = 500;
|
||||
const ip = path.join(__dirname, 'index.js');
|
||||
console.log(cp.execSync(`node ${ip}`).toString());
|
||||
console.log(cp.execSync(`node ${ip}`, { env: process.env }).toString());
|
||||
})
|
||||
|
Reference in New Issue
Block a user