diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 775fa65..d2fc765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: "Main CI" +name: "main ci" on: push: diff --git a/README.md b/README.md index 5346116..b37163b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,13 @@
diff --git a/dist/cli/index.js b/dist/cli/index.js index 7467d3a..72ca8bf 100755 --- a/dist/cli/index.js +++ b/dist/cli/index.js @@ -320,6 +320,7 @@ class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate static init(type, auth) { if (GitServiceFactory.instance) { GitServiceFactory.logger.warn("Git service already initialized!"); diff --git a/dist/gha/index.js b/dist/gha/index.js index 1cc3bde..9a5ec89 100755 --- a/dist/gha/index.js +++ b/dist/gha/index.js @@ -311,6 +311,7 @@ class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate static init(type, auth) { if (GitServiceFactory.instance) { GitServiceFactory.logger.warn("Git service already initialized!"); diff --git a/src/service/git/git-service-factory.ts b/src/service/git/git-service-factory.ts index 40573fb..6cda575 100644 --- a/src/service/git/git-service-factory.ts +++ b/src/service/git/git-service-factory.ts @@ -25,6 +25,7 @@ export default class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate public static init(type: GitServiceType, auth: string): void { if (GitServiceFactory.instance) {