Skip to content

Commit ccec059

Browse files
committed
fix: Trims
1 parent 331dd26 commit ccec059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
310310

311311
// If the push failed for any fatal reason other than being rejected,
312312
// there is a problem
313-
if (!rejected && pushResult.stderr.startsWith('fatal:'))
313+
if (!rejected && pushResult.stderr.trim().startsWith('fatal:'))
314314
throw new Error(pushResult.stderr)
315315
} while (rejected)
316316
}

0 commit comments

Comments
 (0)