Skip to content

Commit

Permalink
Added fix for checking package registered
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Jun 7, 2024
1 parent 6b2b30e commit 4a2151e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/console/NpmRun.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function handle(): int
$name = $this->argument('package');
$script = $this->argument('script');

if ($compilableAssets->hasPackage($name)) {
if (!$compilableAssets->hasPackage($name, true)) {
$this->error(
sprintf('Package "%s" is not a registered package.', $name)
);
Expand Down

0 comments on commit 4a2151e

Please sign in to comment.