mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
enforce absolute path for getGitPath
This commit is contained in:
parent
32ebc90995
commit
19f4e8dd3e
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -831,7 +831,7 @@ class GitCommandManager {
|
|||
}
|
||||
getGitPath(path) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const args = ['rev-parse', '--git-path'];
|
||||
const args = ['rev-parse', '--path-format=absolute', '--git-path'];
|
||||
if (path)
|
||||
args.push(path);
|
||||
const output = yield this.exec(args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue