We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4879db2 commit f44e4c6Copy full SHA for f44e4c6
src/git.ts
@@ -314,8 +314,9 @@ export async function deploy(action: ActionInterface): Promise<Status> {
314
315
// If the push failed for any fatal reason other than being rejected,
316
// there is a problem
317
- if (!rejected && pushResult.stderr.trim().startsWith('fatal:'))
+ if (!rejected && pushResult.stderr.split(/\n/).some(s => s.trim().startsWith('fatal:'))) {
318
throw new Error(pushResult.stderr)
319
+ }
320
} while (rejected)
321
}
322
0 commit comments