Skip to content

Commit

Permalink
chore: resolve prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Apr 17, 2024
1 parent f44e4c6 commit 70d9b6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,10 @@ export async function deploy(action: ActionInterface): Promise<Status> {

// If the push failed for any fatal reason other than being rejected,
// there is a problem
if (!rejected && pushResult.stderr.split(/\n/).some(s => s.trim().startsWith('fatal:'))) {
if (
!rejected &&
pushResult.stderr.split(/\n/).some(s => s.trim().startsWith('fatal:'))
) {
throw new Error(pushResult.stderr)
}
} while (rejected)
Expand Down

0 comments on commit 70d9b6b

Please sign in to comment.