Skip to content

Commit 605bf8f

Browse files
committed
fix: remove console.log from executeOnExit
1 parent 6bbd89f commit 605bf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function expiresAtMs(expiresAt: number | Date | undefined) {
4141
export function executeOnExit(fn: () => void) {
4242
for (const signal of ["SIGINT", "SIGTERM", "SIGQUIT", "exit"]) {
4343
process.on(signal, () => {
44-
console.log(fn());
44+
fn();
4545
process.exit(0);
4646
});
4747
}

0 commit comments

Comments
 (0)