Try to fix logs

This commit is contained in:
Federico Grandi
2020-05-01 11:16:32 +02:00
parent 72da43cf1b
commit 5ead79aef9
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ import { execFileSync } from 'child_process'
try {
checkInputs()
execFileSync(path(__dirname, 'entrypoint.sh'))
const output = execFileSync(path(__dirname, 'entrypoint.sh'))
info(output.toString())
} catch (err) {
console.error(err)
setFailed(err instanceof Error ? err.message : err)