This commit is contained in:
Jayen 2025-11-04 08:27:49 +09:00 committed by GitHub
commit 737283d012
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -893,6 +893,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]);
});
}

View File

@ -367,6 +367,7 @@ class GitCommandManager {
}
async init(): Promise<void> {
await this.config('init.defaultBranch', 'main', true, true)
await this.execGit(['init', this.workingDirectory])
}