mirror of https://github.com/actions/checkout.git
Merge 9ec5884c0c into 0c366fd6a8
commit
29632b77c3
|
|
@ -898,6 +898,7 @@ class GitCommandManager {
|
|||
}
|
||||
init() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.config('init.defaultBranch', 'main', true, true);
|
||||
yield this.execGit(['init', this.workingDirectory]);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -365,6 +365,7 @@ class GitCommandManager {
|
|||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
await this.config('init.defaultBranch', 'main', true, true)
|
||||
await this.execGit(['init', this.workingDirectory])
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue