fix: add '--' to checkout command to avoid ambiguity
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
This commit is contained in:
parent
3f60247108
commit
c28661c916
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -650,6 +650,8 @@ class GitCommandManager {
|
||||
else {
|
||||
args.push(ref);
|
||||
}
|
||||
// https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5
|
||||
args.push('--');
|
||||
yield this.exec(args);
|
||||
});
|
||||
}
|
||||
|
||||
@ -32,6 +32,8 @@ export class GitCommandManager {
|
||||
} else {
|
||||
args.push(ref)
|
||||
}
|
||||
// https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5
|
||||
args.push('--');
|
||||
await this.exec(args)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user