Fix LavaMoat policy generation script (#15668)

Recently in #15468 the name of the scripts task used by the LavaMoat
policy generation script was renamed from `scripts:prod` to
`scripts:dist`, but we neglected to change this name in the LavaMoat
policy generation script itself.

The script task has now been updated so that the script works again,
and the LavaMoat policy generation script has been re-run.
feature/default_network_editable
Mark Stacey 2 years ago committed by GitHub
parent 4512a9e151
commit 22552a0152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      development/generate-lavamoat-policies.js
  2. 1429
      lavamoat/build-system/policy.json

@ -36,7 +36,7 @@ async function start() {
await concurrently(
(Array.isArray(buildTypes) ? buildTypes : [buildTypes]).map(
(buildType) => ({
command: `yarn build scripts:prod --policy-only --build-type=${buildType}`,
command: `yarn build scripts:dist --policy-only --build-type=${buildType}`,
env: {
WRITE_AUTO_POLICY: 1,
},

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save