mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
fix missing await
This commit is contained in:
parent
be311b08ff
commit
2222206e38
2 changed files with 4 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue