From f0a62a2d124b4b8e29534c16daaff88a49f69442 Mon Sep 17 00:00:00 2001 From: Gabriel Terwesten Date: Wed, 8 Jun 2022 12:12:13 +0200 Subject: [PATCH] fix: pass extra args to script when invoked without `run` (#316) --- packages/melos/lib/src/command_runner/script.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/melos/lib/src/command_runner/script.dart b/packages/melos/lib/src/command_runner/script.dart index 9609d75fb..5c28ca7cc 100644 --- a/packages/melos/lib/src/command_runner/script.dart +++ b/packages/melos/lib/src/command_runner/script.dart @@ -77,6 +77,7 @@ class ScriptCommand extends MelosCommand { global: global, scriptName: scriptName, noSelect: noSelect, + extraArgs: argResults!.rest, ); } on NoPackageFoundScriptException catch (err) { logger?.stderr(AnsiStyles.yellow(err.toString()));