From 3fa04162b01f0cd6ec1ad8a9459956bec8f78aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Mon, 17 Mar 2025 12:15:13 +0100 Subject: [PATCH] update cmd to add size options --- tools/cli/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/commands.js b/tools/cli/commands.js index 34f1821f69..5eb70f4354 100644 --- a/tools/cli/commands.js +++ b/tools/cli/commands.js @@ -3390,7 +3390,7 @@ async function doBenchmarkCommand(options) { !!options['only-size'] && 'METEOR_BUNDLE_SIZE_ONLY=true', !!options['size'] && 'METEOR_BUNDLE_SIZE=true' ].filter(Boolean); - const meteorOptions = args.filter(arg => ['--only-size', '--size'].includes(arg)); + const meteorOptions = args.filter(arg => !['--only-size', '--size'].includes(arg)); const profilingCommand = [ `${meteorSizeEnvs.join(' ')} ${profilingPath}/scripts/monitor-bundler.sh ${projectContext.projectDir} ${new Date().getTime()} ${meteorOptions.join(' ')}`.trim(),