Small improvements to handle-errors script

This commit is contained in:
Pieter Vander Vennet 2024-07-25 14:48:31 +02:00
parent 8748020b31
commit dfd70ce05a

View file

@ -21,8 +21,9 @@ class HandleErrors extends Script {
const path = args[0] const path = args[0]
const lines = readFileSync(path, "utf8").split("\n") const lines = readFileSync(path, "utf8").split("\n")
let createdChangesets = new Set<string>() const createdChangesets = new Set<string>()
let refusedFiles: Set<string> = new Set<string>() const refusedFiles: Set<string> = new Set<string>()
refusedFiles.add("[]")
for (const line of lines) { for (const line of lines) {
if (!line?.trim()) { if (!line?.trim()) {