Skip to content

Commit

Permalink
Merge pull request #60 from greg0ire/fixes
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
greg0ire authored Oct 31, 2024
2 parents fe205c9 + 3a6d173 commit 5a2164c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/project/addProject.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('project > addProject', () => {
expect(response.status).toEqual(HTTP_STATUS_NO_CONTENT);
expect(slackBotWebClient.chat.postEphemeral).toHaveBeenNthCalledWith(1, {
channel: channelId,
text: expect.stringContaining(`No project match \`${search}\``),
text: expect.stringContaining(`No project matches \`${search}\``),
user: userId,
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/project/commands/add/addProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Don't forget to <${getEnvVariable(
'GITLAB_URL'
)}/${projectPath}/-/hooks|set up a webhook> \
in your Gitlab project by following the \
<${HOMER_GIT_URL}/#make-homer-be-notified-of-changes-happening-in-your-gitlab-project|dedicated documentation>.
<${HOMER_GIT_URL}/#1-make-homer-notified-of-changes-happening-in-the-gitlab-project|dedicated documentation>.
`,
});
}
2 changes: 1 addition & 1 deletion src/project/commands/add/addProjectRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function addProjectRequestHandler(
await slackBotWebClient.chat.postEphemeral({
channel: channel_id,
user: user_id,
text: `No project match \`${query}\` :homer-stressed:`,
text: `No project matches \`${query}\` :homer-stressed:`,
});
return;
}
Expand Down

0 comments on commit 5a2164c

Please sign in to comment.