Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion scripts/auto-close-duplicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
declare global {
var process: {
env: Record<string, string | undefined>;
exitCode?: number;
};
}

Expand Down Expand Up @@ -271,7 +272,10 @@ async function autoCloseDuplicates(): Promise<void> {
);
}

autoCloseDuplicates().catch(console.error);
autoCloseDuplicates().catch((error) => {
console.error(error);
process.exitCode = 1;
});

// Make it a module
export {};
8 changes: 6 additions & 2 deletions scripts/backfill-duplicate-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
declare global {
var process: {
env: Record<string, string | undefined>;
exitCode?: number;
};
}

Expand Down Expand Up @@ -207,7 +208,10 @@ Environment Variables:
);
}

backfillDuplicateComments().catch(console.error);
backfillDuplicateComments().catch((error) => {
console.error(error);
process.exitCode = 1;
});

// Make it a module
export {};
export {};