Update git.ts

This commit is contained in:
James Ives 2022-07-17 09:08:52 -04:00
parent e6d003d083
commit 22bc971733

View File

@ -310,6 +310,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
// If the push failed for any reason other than being rejected,
// there is a problem
console.log('THE LOG---', pushResult.stderr)
if (!rejected && pushResult.stderr) throw new Error(pushResult.stderr)
} while (rejected)
}