Try with .pipe
This commit is contained in:
@@ -5,7 +5,7 @@ import { execFile } from 'child_process'
|
|||||||
try {
|
try {
|
||||||
checkInputs()
|
checkInputs()
|
||||||
execFile(path(__dirname, 'entrypoint.sh'))
|
execFile(path(__dirname, 'entrypoint.sh'))
|
||||||
.stdout?.on('data', data => info(data.toString()))
|
.stdout?.pipe(process.stdout)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
setFailed(err instanceof Error ? err.message : err)
|
setFailed(err instanceof Error ? err.message : err)
|
||||||
|
|||||||
Reference in New Issue
Block a user