diff --git a/scripts/handleErrors.ts b/scripts/handleErrors.ts index 410493522..1bb029962 100644 --- a/scripts/handleErrors.ts +++ b/scripts/handleErrors.ts @@ -21,8 +21,9 @@ class HandleErrors extends Script { const path = args[0] const lines = readFileSync(path, "utf8").split("\n") - let createdChangesets = new Set() - let refusedFiles: Set = new Set() + const createdChangesets = new Set() + const refusedFiles: Set = new Set() + refusedFiles.add("[]") for (const line of lines) { if (!line?.trim()) {