Skip to content

Commit

Permalink
made a quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddharthShyniben committed Mar 22, 2021
1 parent 3fe0b7a commit 3093b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ const buildReadme = (prevReadmeContent, data) => {
.replace(/<td-mdst>.*<\/td-mdst>/g, `<td-mdst>${parsedData.goals.max_daily_streak.end}</td-mdst>`)
.replace(/<td-mwsc>.*<\/td-mwsc>/g, `<td-mwsc>${Humanize.formatNumber(parsedData.goals.max_weekly_streak.count)}</td-mwsc>`)
.replace(/<td-mwsf>.*<\/td-mwsf>/g, `<td-mwsf>${parsedData.goals.max_weekly_streak.start}</td-mwsf>`)
.replace(/<td-ka>.*<\/td-ka>/g, `<td-ka>${parsedData.parsedActivity.join("\n")}</td-ka>`);
.replace(/<td-ka>.*<\/td-ka>/g, `<td-ka>\n${parsedData.parsedActivity.join("\n")}\n</td-ka>`);
return newContent;
};

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const buildReadme = (prevReadmeContent, data) => {
.replace(/<td-mdst>.*<\/td-mdst>/g, `<td-mdst>${parsedData.goals.max_daily_streak.end}</td-mdst>`)
.replace(/<td-mwsc>.*<\/td-mwsc>/g, `<td-mwsc>${Humanize.formatNumber(parsedData.goals.max_weekly_streak.count)}</td-mwsc>`)
.replace(/<td-mwsf>.*<\/td-mwsf>/g, `<td-mwsf>${parsedData.goals.max_weekly_streak.start}</td-mwsf>`)
.replace(/<td-ka>.*<\/td-ka>/g, `<td-ka>${parsedData.parsedActivity.join("\n")}</td-ka>`);
.replace(/<td-ka>.*<\/td-ka>/g, `<td-ka>\n${parsedData.parsedActivity.join("\n")}\n</td-ka>`);
return newContent;
};

Expand Down

0 comments on commit 3093b0e

Please sign in to comment.