fix missing await

This commit is contained in:
Peter Evans 2021-12-13 17:05:49 +09:00
parent be311b08ff
commit 2222206e38
2 changed files with 4 additions and 4 deletions

View file

@ -130,8 +130,8 @@ export async function createOrUpdateBranch(
}
await git.commit(params)
// Remove uncommitted tracked and untracked changes
git.exec(['reset', '--hard'])
git.exec(['clean', '-f'])
await git.exec(['reset', '--hard'])
await git.exec(['clean', '-f'])
}
// Perform fetch and reset the working base