Skip to content

Commit

Permalink
Merge branch 'marispro-patch-1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
infureal committed Nov 22, 2020
2 parents 019aebb + 3a46d6a commit 7ae11c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/Components/Command.php
Expand Up @@ -21,7 +21,7 @@ public function __construct($name) {
$commands = Artisan::all();

if (!in_array($name, array_keys($commands)))
throw new \Exception("Command not found");
throw new \Exception("Command \"{$name}\" not found");

$this->command = $commands[$name];
$this->arguments = $this->command->getDefinition()->getArguments();
Expand All @@ -31,4 +31,4 @@ public function __construct($name) {
public function render() {
return view('gui::components.command');
}
}
}

0 comments on commit 7ae11c8

Please sign in to comment.