From d6bd08682d257cd953a2c3906572e5daaf25335c Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:49:07 +0000 Subject: [PATCH] fix(scripts): run yarn lerna in silent mode --- scripts/benchmark-size/runner/utils.ts | 2 +- scripts/benchmark-size/runner/workspace.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/benchmark-size/runner/utils.ts b/scripts/benchmark-size/runner/utils.ts index fbc64b77b661..73f7db9a3e1d 100644 --- a/scripts/benchmark-size/runner/utils.ts +++ b/scripts/benchmark-size/runner/utils.ts @@ -19,7 +19,7 @@ export const validateRuntime = async () => { throw e; } try { - await exec("yarn", ["lerna", "--version"], { + await exec("yarn", ["--silent", "lerna", "--version"], { cwd: PROJECT_ROOT, }); } catch (e) { diff --git a/scripts/benchmark-size/runner/workspace.ts b/scripts/benchmark-size/runner/workspace.ts index 6296b63ac8e7..24f0a5812bff 100644 --- a/scripts/benchmark-size/runner/workspace.ts +++ b/scripts/benchmark-size/runner/workspace.ts @@ -44,7 +44,7 @@ export const loadWorkspacePackages = async (options?: { } } - const { stdout } = await exec("yarn", ["lerna", ...args], { + const { stdout } = await exec("yarn", ["--silent", "lerna", ...args], { cwd: PROJECT_ROOT, encoding: "utf8", });