Skip to content

Commit 321b313

Browse files
annezazuntsekouras
andauthored
Fix spacing in new contributor welcome message (#28958)
* 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 <[email protected]>
1 parent e7ce302 commit 321b313

File tree

2 files changed

+3
-3
lines changed
  • packages/project-management-automation/lib/tasks/first-time-contributor-label

2 files changed

+3
-3
lines changed

packages/project-management-automation/lib/tasks/first-time-contributor-label/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function firstTimeContributorLabel( payload, octokit ) {
5858
body:
5959
':wave: Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @' +
6060
author +
61-
"!. In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
61+
"! In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/), " +
6262
'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' +
6363
'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.',
6464
} );

packages/project-management-automation/lib/tasks/first-time-contributor-label/test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ describe( 'firstTimeContributorLabel', () => {
6464

6565
const expectedComment =
6666
':wave: Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @ghost' +
67-
"!. In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
68-
'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' +
67+
"! In case you missed it, we'd love to have you join us in our [Slack community](https://make.wordpress.org/chat/)," +
68+
' 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' +
6969
'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.';
7070

7171
await firstTimeContributorLabel( payload, octokit );

0 commit comments

Comments
 (0)