Skip to content

Commit 995b9af

Browse files
committed
style(coreping): correct spelling of 'santizedTitle' to 'sanitizedTitle' for clarity and consistency
1 parent e33ad98 commit 995b9af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/tasks/coreping/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ if (import.meta.main) {
200200
const status = isReviewed ? "reviewed" : isCommented ? "reviewed" : isFresh ? "fresh" : "stale";
201201

202202
const hours = Math.floor(diff / (60 * 60 * 1000));
203-
const santizedTitle = pr.title.replace(/\W+/g, " ").trim();
204-
const statusMsg = `@${pr.user?.login}'s ${corePrLabel.name} PR <${pr.html_url}|${santizedTitle}> is waiting for your feedback for more than ${hours} hours.`;
203+
const sanitizedTitle = pr.title.replace(/\W+/g, " ").trim();
204+
const statusMsg = `@${pr.user?.login}'s ${corePrLabel.name} PR <${pr.html_url}|${sanitizedTitle}> is waiting for your feedback for more than ${hours} hours.`;
205205
console.log(statusMsg);
206206
console.log(pr.html_url + " " + pr.labels.map((e) => e.name));
207207

0 commit comments

Comments
 (0)