File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1507,7 +1507,13 @@ jobs:
15071507 node scripts/run-additional-boundary-checks.mjs
15081508 ;;
15091509 session-accessor-boundary)
1510- run_check "lint:tmp:session-accessor-boundary" pnpm run lint:tmp:session-accessor-boundary
1510+ if [ ! -f scripts/check-session-accessor-boundary.mjs ]; then
1511+ echo "[skip] session accessor boundary check is not present in this checkout"
1512+ elif ! node -e 'const pkg = require("./package.json"); process.exit(pkg.scripts?.["lint:tmp:session-accessor-boundary"] ? 0 : 1);'; then
1513+ echo "[skip] session accessor boundary script is not present in package.json"
1514+ else
1515+ run_check "lint:tmp:session-accessor-boundary" pnpm run lint:tmp:session-accessor-boundary
1516+ fi
15111517 ;;
15121518 extension-channels)
15131519 run_check "lint:extensions:channels" pnpm run lint:extensions:channels
You can’t perform that action at this time.
0 commit comments