fix missing await
This commit is contained in:
parent
be311b08ff
commit
2222206e38
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -133,8 +133,8 @@ function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName
|
|||||||
}
|
}
|
||||||
yield git.commit(params);
|
yield git.commit(params);
|
||||||
// Remove uncommitted tracked and untracked changes
|
// Remove uncommitted tracked and untracked changes
|
||||||
git.exec(['reset', '--hard']);
|
yield git.exec(['reset', '--hard']);
|
||||||
git.exec(['clean', '-f']);
|
yield git.exec(['clean', '-f']);
|
||||||
}
|
}
|
||||||
// Perform fetch and reset the working base
|
// Perform fetch and reset the working base
|
||||||
// Commits made during the workflow will be removed
|
// Commits made during the workflow will be removed
|
||||||
|
|||||||
@ -130,8 +130,8 @@ export async function createOrUpdateBranch(
|
|||||||
}
|
}
|
||||||
await git.commit(params)
|
await git.commit(params)
|
||||||
// Remove uncommitted tracked and untracked changes
|
// Remove uncommitted tracked and untracked changes
|
||||||
git.exec(['reset', '--hard'])
|
await git.exec(['reset', '--hard'])
|
||||||
git.exec(['clean', '-f'])
|
await git.exec(['clean', '-f'])
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform fetch and reset the working base
|
// Perform fetch and reset the working base
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user