From c8abb2e9ec82a7d63dfe6ad5a4847b793faac55e Mon Sep 17 00:00:00 2001 From: sid <48153483+siddsriv@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:31:56 -0500 Subject: [PATCH] chore(scripts): yarn install with --no-immutable to allow lockfile modification (#6662) --- scripts/generate-clients/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-clients/index.js b/scripts/generate-clients/index.js index 594ed7bdf211..3b6ff43fc343 100644 --- a/scripts/generate-clients/index.js +++ b/scripts/generate-clients/index.js @@ -142,7 +142,7 @@ const { } require("./customizations/workspaces-thin-client")(); - await spawnProcess("yarn", [], { cwd: REPO_ROOT, stdio: "inherit", env: { ...process.env, CI: "" } }); + await spawnProcess("yarn", ["install", "--no-immutable"], { cwd: REPO_ROOT, stdio: "inherit", env: { ...process.env, CI: "" } }); require("../runtime-dependency-version-check/runtime-dep-version-check"); } catch (e) { console.log(e);