chore: update readme

This commit is contained in:
Andrea Lamparelli 2023-06-20 23:24:29 +02:00
parent cfc8e22d48
commit 7f9276f15b
5 changed files with 11 additions and 2 deletions

View file

@ -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:

View file

@ -5,7 +5,13 @@
<p align="center">
<a href="https://github.com/lampajr/backporting">
<img alt="CI Checks Status" src="https://github.com/lampajr/backporting/actions/workflows/ci.yml/badge.svg">
<img alt="ci checks status" src="https://github.com/lampajr/backporting/actions/workflows/ci.yml/badge.svg">
</a>
<a href="https://badge.fury.io/js/@lampajr%2Fbper">
<img alt="npm version" src="https://badge.fury.io/js/@lampajr%2Fbper.svg">
</a>
<a href="https://snyk.io/test/github/lampajr/backporting?targetFile=package.json">
<img alt="vulnerabilities" src="https://snyk.io/test/github/lampajr/backporting/badge.svg?targetFile=package.json">
</a>
</p>

1
dist/cli/index.js vendored
View file

@ -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
View file

@ -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!");

View file

@ -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) {