mirror of
https://github.com/actions/checkout.git
synced 2026-03-10 09:01:44 +08:00
Compare commits
3 Commits
5fd1b8c906
...
d76540eddd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d76540eddd | ||
|
|
8edcb1bdb4 | ||
|
|
9ec5884c0c |
@ -1 +1 @@
|
||||
* @actions/actions-launch
|
||||
* @actions/actions-runtime
|
||||
|
||||
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -711,6 +711,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]);
|
||||
});
|
||||
}
|
||||
|
||||
@ -328,6 +328,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
Block a user