Skip to content

Commit

Permalink
Added fix for incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Jul 14, 2024
1 parent 2905f62 commit 6409346
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/system/console/asset/AssetCompile.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ public function compileHandle(string $type): int
{
// Exit early if node_modules isn't available yet
if (!File::exists(base_path('node_modules'))) {
$this->error('The Node dependencies are not available, try running mix:install first.');
$this->error(sprintf(
'The Node dependencies are not available, try running %s:install first.',
$type
));
return 1;
}

Expand Down

0 comments on commit 6409346

Please sign in to comment.