Skip to content

Commit c80914f

Browse files
committed
Don't crash on failed git action
1 parent 3df687d commit c80914f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

forge/ee/lib/gitops/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ module.exports.init = async function (app) {
3333
*/
3434
async function pushToRepository (repoOptions, snapshot, options) {
3535
if (repoOptions.tokenType === 'github') {
36-
github.pushToRepository(repoOptions, snapshot, options)
36+
await github.pushToRepository(repoOptions, snapshot, options)
3737
} else if (repoOptions.tokenType === 'azure') {
38-
azure.pushToRepository(repoOptions, snapshot, options)
38+
await azure.pushToRepository(repoOptions, snapshot, options)
3939
}
4040
}
4141

0 commit comments

Comments
 (0)