Skip to content

Commit

Permalink
Improve logging of check script
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Aug 28, 2019
1 parent 64a7a68 commit 2e2bb34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/contributors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const updateContributors = async ({ username, repo, imageSize }: ContributorOpti
const getContributorsSectionPattern = new RegExp(/(\[\/\/\]:\s#contributors\s\(start\))([\s\S]*)(\[\/\/\]:\s#contributors\s\(end\))/);
const updatedContent = readmeContent.replace(getContributorsSectionPattern, `$1\n${images}\n\n$3`);
fs.writeFileSync(readmePath, updatedContent);
console.log('> Material Icon Theme:', painter.green(`Successfully updated README.md!`));
};

updateContributors({
Expand Down

0 comments on commit 2e2bb34

Please sign in to comment.