Skip to content

Commit

Permalink
Swapped exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Jul 14, 2024
1 parent 1d9257e commit 2905f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/classes/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Vite extends LaravelVite
public function __invoke($entrypoints, $package = null)
{
if (!$package) {
throw new SystemException('A package must be passed');
throw new \InvalidArgumentException('A package must be passed');
}

// Normalise the package name
Expand Down

0 comments on commit 2905f62

Please sign in to comment.