Deploy Production Code for Commit 44d3af880f 🚀

This commit is contained in:
James Ives 2022-07-17 13:23:40 +00:00
parent 44d3af880f
commit 04a1384a63

View File

@ -182,8 +182,7 @@ function deploy(action) {
(0, core_1.info)('Updates were rejected'); (0, core_1.info)('Updates were rejected');
// If the push failed for any reason other than being rejected, // If the push failed for any reason other than being rejected,
// there is a problem // there is a problem
console.log('THE LOG---', pushResult.stderr); if (!rejected && pushResult.stderr.includes('fatal:'))
if (!rejected && pushResult.stderr)
throw new Error(pushResult.stderr); throw new Error(pushResult.stderr);
} while (rejected); } while (rejected);
} }