build: remove --silent from yarn command

`--silent` is not a valid option for Yarn 4. This causes the build-schema script to fail.
This commit is contained in:
Alan Agius 2024-06-11 08:58:23 +00:00 committed by Alan Agius
parent cec97fe3a5
commit 076afb7e15

View File

@ -13,7 +13,7 @@ import { fileURLToPath } from 'node:url';
const __dirname = dirname(fileURLToPath(import.meta.url));
const baseDir = resolve(`${__dirname}/..`);
const bazelCmd = process.env.BAZEL ?? `yarn --silent bazel`;
const bazelCmd = process.env.BAZEL ?? `yarn bazel`;
const distRoot = join(baseDir, '/dist-schema/');
function _clean() {