Skip to content

Commit

Permalink
fix: use global options when running scripts (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaugold authored May 16, 2022
1 parent b0f7db4 commit 115d047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/melos/lib/src/command_runner/run.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class RunCommand extends MelosCommand {

try {
return await melos.run(
global: global,
scriptName: scriptName,
noSelect: noSelect,
extraArgs: extraArgs,
Expand Down
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 @@ -74,6 +74,7 @@ class ScriptCommand extends MelosCommand {

try {
return await melos.run(
global: global,
scriptName: scriptName,
noSelect: noSelect,
);
Expand Down

0 comments on commit 115d047

Please sign in to comment.