Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .reviews/components/CommentReview.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,11 @@ for (const pf of pendingFindings) {
});
}

hasChecklist = checklistItems.length > 0;
checklistMd = checklistItems.map(item => {
// Redeclared, not reassigned: bindings from earlier eval blocks arrive in
// later blocks as consts, so assignment throws. A fresh declaration shadows
// the injected binding and its export overrides env for the <Show> below.
const hasChecklist = checklistItems.length > 0;
const checklistMd = checklistItems.map(item => {
const checked = item.status !== "pending" ? "x" : " ";
if (item.status === "applied") {
return `- [${checked}] \`${item.file}:${item.lineNumber}\` (removed)`;
Expand Down
Loading