mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: fix await in cleanup script (#14695)
This commit is contained in:
@@ -37,7 +37,7 @@ async function getCurrentBranch (gitDir) {
|
||||
}
|
||||
|
||||
async function revertBumpCommit (tag) {
|
||||
const branch = getCurrentBranch()
|
||||
const branch = await getCurrentBranch()
|
||||
const commitToRevert = getLastBumpCommit(tag).hash
|
||||
await GitProcess.exec(['revert', commitToRevert], gitDir)
|
||||
const pushDetails = await GitProcess.exec(['push', 'origin', `HEAD:${branch}`, '--follow-tags'], gitDir)
|
||||
|
||||
Reference in New Issue
Block a user