dfghdfghdfrgh

This commit is contained in:
Michael Schmidt
2023-07-11 13:30:41 +02:00
parent 95951da3cb
commit 7e0f95e47a
3 changed files with 20 additions and 1 deletions

19
.gitignore vendored
View File

@@ -1,4 +1,21 @@
__test__/_temp
_temp/
lib/
node_modules/
node_modules/
/dist/fs-helper.d.ts
/dist/git-auth-helper.d.ts
/dist/git-command-manager.d.ts
/dist/git-directory-helper.d.ts
/dist/git-source-provider.d.ts
/dist/git-source-settings.d.ts
/dist/git-version.d.ts
/dist/github-api-helper.d.ts
/dist/input-helper.d.ts
/dist/main.d.ts
/dist/misc/generate-docs.d.ts
/dist/ref-helper.d.ts
/dist/regexp-helper.d.ts
/dist/retry-helper.d.ts
/dist/state-helper.d.ts
/dist/url-helper.d.ts
/dist/workflow-context-helper.d.ts

1
dist/index.js vendored
View File

@@ -34393,6 +34393,7 @@ class GitCommandManager {
}
init() {
return __awaiter(this, void 0, void 0, function* () {
yield this.execGit(['config', '--global', 'init.defaultBranch', 'main']);
yield this.execGit(['init', this.workingDirectory]);
});
}

View File

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