Skip to content

Commit

Permalink
fix: pass extra args to script when invoked without run (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaugold authored Jun 8, 2022
1 parent bb76d3a commit f0a62a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/melos/lib/src/command_runner/script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit f0a62a2

Please sign in to comment.