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 331dd26 commit ccec059Copy full SHA for ccec059
src/git.ts
@@ -310,7 +310,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
310
311
// If the push failed for any fatal reason other than being rejected,
312
// there is a problem
313
- if (!rejected && pushResult.stderr.startsWith('fatal:'))
+ if (!rejected && pushResult.stderr.trim().startsWith('fatal:'))
314
throw new Error(pushResult.stderr)
315
} while (rejected)
316
}
0 commit comments