Skip to content

Commit 243e6c0

Browse files
committed
chore(cloud): suppress no-json-parse on the build script's wrangler-config read
1 parent 97a3a1b commit 243e6c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/cloud/scripts/build.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ for (const step of steps) {
4545
const ciBranch = process.env.WORKERS_CI_BRANCH;
4646
if (process.env.WORKERS_CI === "1" && ciBranch && ciBranch !== "main") {
4747
const cfgUrl = new URL("../dist/server/wrangler.json", import.meta.url);
48+
// oxlint-disable-next-line executor/no-json-parse -- build script, not domain code; wrangler emits plain JSON
4849
const cfg = JSON.parse(readFileSync(cfgUrl, "utf8"));
4950
if (Array.isArray(cfg.migrations) && cfg.migrations.length > 0) {
5051
delete cfg.migrations;

0 commit comments

Comments
 (0)