Skip to content

Commit

Permalink
fix: message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
whilefoo committed Feb 6, 2025
1 parent 1e47186 commit 982a3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/shared/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function checkRequirements(

if (!currentLabelConfiguration) {
// If we didn't find the label in the allowed list, then the user cannot start this task.
const errorText = `This task does not reflect a business priority at the moment. You may start tasks with one of the following labels: ${requiredLabelsToStart.map((label) => label.name).join(", ")}`;
const errorText = `This task does not reflect a business priority at the moment.\nYou may start tasks with one of the following labels: ${requiredLabelsToStart.map((label) => "`" + label.name + "`").join(", ")}`;
logger.error(errorText, {
requiredLabelsToStart,
issueLabels,
Expand Down

0 comments on commit 982a3f5

Please sign in to comment.