Skip to content

Commit 03ad7bf

Browse files
author
Kent C. Dodds
committed
fix(travis): get more insight into what is going on
1 parent 125c916 commit 03ad7bf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/scripts/travis-after-success.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ const {
88
} = require('../utils')
99

1010
console.log('installing and running travis-deploy-once')
11-
const deployOnceResults = spawn.sync('npx', ['travis-deploy-once@5'])
11+
const deployOnceResults = spawn.sync('npx', ['travis-deploy-once@5'], {
12+
stdio: 'inherit',
13+
})
1214
if (deployOnceResults.status === 0) {
1315
runAfterSuccessScripts()
1416
} else {
17+
console.log(
18+
'travis-deploy-once exited with a non-zero exit code',
19+
deployOnceResults.status,
20+
)
1521
process.exit(deployOnceResults.status)
1622
}
1723

0 commit comments

Comments
 (0)