Skip to content

Commit

Permalink
trim key and value space in slackUsernames
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoya ito committed Feb 26, 2021
1 parent 74c6d7c commit 17e0aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const replaceGitHubUsernameWithSlackUsername = (
if (!value) {
return result
}
result[key] = value
result[key.trim()] = value.trim()
return result
}, {}) ?? {}
for (const [key, value] of Object.entries(githubToSlack)) {
Expand Down

0 comments on commit 17e0aad

Please sign in to comment.