mirror of https://github.com/actions/toolkit
add debug for code
parent
3406ce58d6
commit
d155e954a1
|
@ -159,15 +159,16 @@ export async function rmRF(inputPath: string): Promise<void> {
|
||||||
console.log(`spawn: ${result.spawnargs}`)
|
console.log(`spawn: ${result.spawnargs}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
result.stdout?.on('data', (data) => {
|
result.stdout?.on('data', data => {
|
||||||
console.log(`stdout: ${data}`)
|
console.log(`stdout: ${data}`)
|
||||||
});
|
})
|
||||||
|
|
||||||
result.stderr?.on('data', (data) => {
|
result.stderr?.on('data', data => {
|
||||||
console.log(`stdout: ${data}`)
|
console.log(`stdout: ${data}`)
|
||||||
});
|
})
|
||||||
|
|
||||||
result.on('close', code => {
|
result.on('close', code => {
|
||||||
|
console.log(`close: ${code}`)
|
||||||
resolve(code)
|
resolve(code)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue