Skip to content

Commit c6fa165

Browse files
Merge pull request #1783 from apiraino/quote-review-cmds-suggestion
Quote review suggestions in comments
2 parents 6319504 + c0b3e89 commit c6fa165

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/handlers/assign.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ const RETURNING_USER_WELCOME_MESSAGE: &str = "r? @{assignee}
6161
They will have a look at your PR within the next two weeks and either review your PR or \
6262
reassign to another reviewer.
6363
64-
Use r? to explicitly pick a reviewer";
64+
Use `r?` to explicitly pick a reviewer";
6565

6666
const RETURNING_USER_WELCOME_MESSAGE_NO_REVIEWER: &str =
67-
"@{author}: no appropriate reviewer found, use r? to override";
67+
"@{author}: no appropriate reviewer found, use `r?` to override";
6868

6969
const ON_VACATION_WARNING: &str = "{username} is on vacation. Please do not assign them to PRs.";
7070

@@ -642,7 +642,7 @@ impl fmt::Display for FindReviewerError {
642642
f,
643643
"No reviewers could be found from initial request `{}`\n\
644644
This repo may be misconfigured.\n\
645-
Use r? to specify someone else to assign.",
645+
Use `r?` to specify someone else to assign.",
646646
initial.join(",")
647647
)
648648
}
@@ -652,7 +652,7 @@ impl fmt::Display for FindReviewerError {
652652
"Could not assign reviewer from: `{}`.\n\
653653
User(s) `{}` are either the PR author, already assigned, or on vacation, \
654654
and there are no other candidates.\n\
655-
Use r? to specify someone else to assign.",
655+
Use `r?` to specify someone else to assign.",
656656
initial.join(","),
657657
filtered.join(","),
658658
)

0 commit comments

Comments
 (0)