dfghdfghdfrgh
This commit is contained in:
19
.gitignore
vendored
19
.gitignore
vendored
@@ -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
1
dist/index.js
vendored
@@ -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]);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -231,6 +231,7 @@ class GitCommandManager {
|
||||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
await this.execGit(['config', '--global', 'init.defaultBranch', 'main'])
|
||||
await this.execGit(['init', this.workingDirectory])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user