Skip to content

Commit

Permalink
Fix spacing in new contributor welcome message (#28958)
Browse files Browse the repository at this point in the history
* Fix spacing in new contributor welcome message

After committing this new welcome message #28118, I noticed a few minor spacing issues in the implementation. This PR is a very simple fix to get proper spacing in place!

* update test

Co-authored-by: ntsekouras <ntsekouras@outlook.com>
  • Loading branch information
annezazu and ntsekouras authored Feb 12, 2021
1 parent e7ce302 commit 321b313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function firstTimeContributorLabel( payload, octokit ) {
body:
':wave: Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @' +
author +
"!. In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
"! In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/), " +
'where we hold [regularly weekly meetings](https://make.wordpress.org/core/tag/core-editor-summary/) open to anyone to coordinate with each other.\n\n' +
'If you want to learn more about WordPress development in general, check out the [Core Handbook](https://make.wordpress.org/core/handbook/) full of helpful information.',
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ describe( 'firstTimeContributorLabel', () => {

const expectedComment =
':wave: Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @ghost' +
"!. In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
'where we hold [regularly weekly meetings](https://make.wordpress.org/core/tag/core-editor-summary/) open to anyone to coordinate with each other.\n\n' +
"! In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
' where we hold [regularly weekly meetings](https://make.wordpress.org/core/tag/core-editor-summary/) open to anyone to coordinate with each other.\n\n' +
'If you want to learn more about WordPress development in general, check out the [Core Handbook](https://make.wordpress.org/core/handbook/) full of helpful information.';

await firstTimeContributorLabel( payload, octokit );
Expand Down

0 comments on commit 321b313

Please sign in to comment.