Merge b342ec4a9c
into ac59398561
This commit is contained in:
commit
523af50cbf
2 changed files with 10 additions and 2 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -7588,7 +7588,11 @@ class GitCommandManager {
|
|||
}
|
||||
init() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.execGit(['init', this.workingDirectory]);
|
||||
yield this.execGit([
|
||||
'init',
|
||||
'--initial-branch=silence_warning_about_default_branch',
|
||||
this.workingDirectory
|
||||
]);
|
||||
});
|
||||
}
|
||||
isDetached() {
|
||||
|
|
|
@ -262,7 +262,11 @@ class GitCommandManager {
|
|||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
await this.execGit(['init', this.workingDirectory])
|
||||
await this.execGit([
|
||||
'init',
|
||||
'--initial-branch=silence_warning_about_default_branch',
|
||||
this.workingDirectory
|
||||
])
|
||||
}
|
||||
|
||||
async isDetached(): Promise<boolean> {
|
||||
|
|
Loading…
Add table
Reference in a new issue