mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-28 05:33:47 +00:00
chore: update readme
This commit is contained in:
parent
cfc8e22d48
commit
7f9276f15b
5 changed files with 11 additions and 2 deletions
1
dist/cli/index.js
vendored
1
dist/cli/index.js
vendored
|
@ -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!");
|
||||
|
|
1
dist/gha/index.js
vendored
1
dist/gha/index.js
vendored
|
@ -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!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue