Skip to content

Commit

Permalink
fix: fix stop.ts formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
obeys committed Sep 1, 2024
1 parent 895bb4b commit 938a27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/shared/stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function stop(context: Context, issue: Context["payload"]["issue"],
const userToUnassign = assignees.find((assignee: Partial<Assignee>) => assignee?.login?.toLowerCase() === sender.login.toLowerCase());

if (!userToUnassign) {
throw new Error(logger.error("You are not assigned to this task", { issueNumber, user: sender.login })?.logMessage.diff as string);
throw new Error(logger.error("You are not assigned to this task", { issueNumber, user: sender.login })?.logMessage.raw as string);
}

// close PR
Expand Down

0 comments on commit 938a27f

Please sign in to comment.