From b8fc0444acfd3dbd6575656bbac7c8eb591f27e4 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Tue, 20 Oct 2026 18:04:24 -0500 Subject: [PATCH] Format the retired-file check --- internal/compatibility/src/generate.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/compatibility/src/generate.mjs b/internal/compatibility/src/generate.mjs index f9c6f845b..d2b333bb2 100644 --- a/internal/compatibility/src/generate.mjs +++ b/internal/compatibility/src/generate.mjs @@ -1014,7 +1014,8 @@ function publicSnapshot(snapshot) { function checkLocal() { for (const path of retiredOutputPaths) { - if (existsSync(path)) throw new Error(`${path.slice(root.length)} is no longer generated; delete it`); + if (existsSync(path)) + throw new Error(`${path.slice(root.length)} is no longer generated; delete it`); } const snapshot = JSON.parse(readFileSync(internalOutputPath, "utf8")); if (snapshot.nodeVersion !== pin.version || snapshot.nodeCommit !== pin.commit) {