diff --git a/bin/pre-push.ts b/bin/pre-push.ts index ff52911..a3f174b 100755 --- a/bin/pre-push.ts +++ b/bin/pre-push.ts @@ -109,7 +109,7 @@ process.exit(42) function checkReturn (ret: ShellString) { if (ret.code !== 0) { const line = '------------------------------------------' - console.error(`Error:\n${line}\n\n${ret.stderr}\n\n${line}\n`) + console.error(`Error:\n${line}\n\n${ret.stderr || ret.stdout}\n\n${line}\n`) process.exit(1) } return ret diff --git a/package.json b/package.json index 54890d0..929880a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chatie/git-scripts", - "version": "0.7.9", + "version": "0.7.10", "description": "Git Hooks Integration for Chatie Projects", "directories": { "doc": "docs",