There was an error while loading. Please reload this page.
1 parent b542f1a commit 06d45ceCopy full SHA for 06d45ce
1 file changed
bin/leaf
@@ -37,7 +37,11 @@ $app->on('command.notFound', function ($event) use ($app) {
37
$data = array_slice($event->getCommandArgv(), 1);
38
39
if (\Leaf\FS\File::exists(getcwd() . '/leaf')) {
40
- $exitCode = (int) sprout()->run('php leaf ' . implode(' ', $data), null);
+ $exitCode = (int) sprout()->run(
41
+ 'php leaf ' . implode(' ', $data),
42
+ null
43
+ );
44
+
45
$event->setExitCode($exitCode);
46
$event->stopPropagation();
47
}
0 commit comments