Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
chore(project): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
olavoparno committed Jun 20, 2020
1 parent 494e9ea commit 53a88d8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.4.2](https://github.com/olavoparno/jest-badges-readme/compare/v1.4.1...v1.4.2) (2020-06-20)



## [1.4.1](https://github.com/olavoparno/jest-badges-readme/compare/v1.4.0...v1.4.1) (2020-02-13)


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/olavoparno"
},
"description": "Creates a group of coverage badges from Jest into your README.",
"version": "1.4.1",
"version": "1.4.2",
"homepage": "https://github.com/olavoparno/jest-badges-readme#readme",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/helper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class Helper {
console.log('\x1b[1m\x1b[32m', `Reading coverage file from ${coveragePath}`);
const report: IReport = JSON.parse(coverageFile);
let readmeFileData: string = fs.readFileSync(readmeFile, 'utf8');
this.reportKeys.forEach(key => {
this.reportKeys.forEach((key) => {
const url: string = this.getBadge(report, key);
if (url.length) {
const pattern: string = '#' + key + '#';
Expand Down Expand Up @@ -88,7 +88,7 @@ export default class Helper {
let coveragePath: string = path;
let argPath: string = '';
const args = process.argv
.filter(item => {
.filter((item) => {
if (item.indexOf('coverage') >= 0) {
return item;
}
Expand Down

0 comments on commit 53a88d8

Please sign in to comment.