diff --git a/CHANGELOG.md b/CHANGELOG.md index fcd06fc..30282a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [1.6.0](https://github.com/olavoparno/jest-badges-readme/compare/v1.5.0...v1.6.0) (2020-07-08) + + +### Bug Fixes + +* **project:** remove logging color and updates ([831db61](https://github.com/olavoparno/jest-badges-readme/commit/831db610a54a9a0825da324a4db86a96aa4c1c04)) + + + # [1.5.0](https://github.com/olavoparno/jest-badges-readme/compare/v1.4.2...v1.5.0) (2020-07-07) diff --git a/package-lock.json b/package-lock.json index d6156cb..690a784 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@olavoparno/jest-badges-readme", - "version": "1.5.0", + "version": "1.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8745921..fb9a5ee 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "https://github.com/olavoparno" }, "description": "Creates a group of coverage badges from Jest into your README.", - "version": "1.5.0", + "version": "1.6.0", "homepage": "https://github.com/olavoparno/jest-badges-readme#readme", "repository": { "type": "git", diff --git a/src/helper/index.ts b/src/helper/index.ts index 967f84b..55f5765 100644 --- a/src/helper/index.ts +++ b/src/helper/index.ts @@ -20,7 +20,9 @@ export default class Helper { return true; } console.log(`Error: ${readmeTemplateFile} OR ${readmeFile} files were not found.`); - console.log(`You must have a ${readmeTemplateFile} OR a valid ${readmeFile} file created. Please read the documentation.`); + console.log( + `You must have a ${readmeTemplateFile} OR a valid ${readmeFile} file created. Please read the documentation.`, + ); return false; }; @@ -47,7 +49,7 @@ export default class Helper { const valueToChangeIndex = valueToChangeStart.indexOf(')'); const valueToChangeFinal = valueToChangeStart.substring(0, valueToChangeIndex); - + const newUrl = `${url} "Make me better!"`; const isItTheSame = valueToChangeFinal.localeCompare(newUrl); @@ -97,7 +99,7 @@ export default class Helper { const valueToChangeIndex = valueToChangeStart.indexOf(')'); const valueToChangeFinal = valueToChangeStart.substring(0, valueToChangeIndex); - + const newUrl = `${url} "Building Status"`; readmeFileData = readmeFileData.replace(valueToChangeFinal, newUrl);