mirror of
https://github.com/actions/checkout.git
synced 2026-03-10 09:01:44 +08:00
Compare commits
2 Commits
233305a7ab
...
93d9fe3abc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93d9fe3abc | ||
|
|
401851faf5 |
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -713,7 +713,7 @@ class GitCommandManager {
|
|||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
yield this.execGit([
|
yield this.execGit([
|
||||||
'init',
|
'init',
|
||||||
'--initial-branch=placeholder',
|
'--initial-branch=silence_warning_about_default_branch',
|
||||||
this.workingDirectory
|
this.workingDirectory
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -330,7 +330,7 @@ class GitCommandManager {
|
|||||||
async init(): Promise<void> {
|
async init(): Promise<void> {
|
||||||
await this.execGit([
|
await this.execGit([
|
||||||
'init',
|
'init',
|
||||||
'--initial-branch=placeholder',
|
'--initial-branch=silence_warning_about_default_branch',
|
||||||
this.workingDirectory
|
this.workingDirectory
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user