mirror of
https://github.com/actions/checkout.git
synced 2026-01-24 07:51:28 +00:00
Merge 9ec5884c0c408b3811d9d5f8cccf7315e31fdc64 into 0c366fd6a839edf440554fa01a7085ccba70ac98
This commit is contained in:
commit
29632b77c3
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -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…
x
Reference in New Issue
Block a user