We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a3a1b commit 243e6c0Copy full SHA for 243e6c0
1 file changed
apps/cloud/scripts/build.mjs
@@ -45,6 +45,7 @@ for (const step of steps) {
45
const ciBranch = process.env.WORKERS_CI_BRANCH;
46
if (process.env.WORKERS_CI === "1" && ciBranch && ciBranch !== "main") {
47
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
49
const cfg = JSON.parse(readFileSync(cfgUrl, "utf8"));
50
if (Array.isArray(cfg.migrations) && cfg.migrations.length > 0) {
51
delete cfg.migrations;
0 commit comments