Don't try to parse non-CSON files as CSON

This commit is contained in:
Andrew Dupont 2024-01-05 12:00:18 -08:00
parent 0fd47f58c7
commit ee3f41e6e0

View File

@ -79,6 +79,9 @@ for (const wasmFile of wasmFilesChanged) {
}
for (const file of files) {
// Only check `cson` files.
if (!file.endsWith('.cson')) continue;
const filePath = path.join(wasmPath, "..", file);
console.log(`Checking: ${filePath}`);