Skip to content

Commit

Permalink
Update code to just lowercase the first letter of the repo descriptio…
Browse files Browse the repository at this point in the history
…n. Update locked dependencies.
  • Loading branch information
gcotelli committed May 6, 2020
1 parent 4907537 commit 8200775
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 22 deletions.
52 changes: 31 additions & 21 deletions 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 src/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function prepareMessage(recipients, lists) {
const converter = new showdown.Converter();
const repoName = repository.name;
const repoURL = repository.html_url;
const repoDescription = repository.description ? `, ${repository.description.toLowerCase()}` : '';
const repoDescription = repository.description ? `, ${repository.description.charAt(0).toLowerCase()+repository.description.slice(1)}` : '';
const releaseVersion = release.tag_name;
const releaseName = release.name;
const releaseURL = release.html_url;
Expand Down

0 comments on commit 8200775

Please sign in to comment.