update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -48,6 +48,9 @@ public function handle()
|
||||
$config = Configuration::fromInput($this->input);
|
||||
$config->setUpdateCheck(Checker::NEVER);
|
||||
|
||||
$appConfig = $this->getLaravel()->make('config');
|
||||
$config->setTrustProject($appConfig->get('tinker.trust_project'));
|
||||
|
||||
$config->getPresenter()->addCasters(
|
||||
$this->getCasters()
|
||||
);
|
||||
@@ -64,10 +67,8 @@ public function handle()
|
||||
|
||||
$path .= '/composer/autoload_classmap.php';
|
||||
|
||||
$config = $this->getLaravel()->make('config');
|
||||
|
||||
$loader = ClassAliasAutoloader::register(
|
||||
$shell, $path, $config->get('tinker.alias', []), $config->get('tinker.dont_alias', [])
|
||||
$shell, $path, $appConfig->get('tinker.alias', []), $appConfig->get('tinker.dont_alias', [])
|
||||
);
|
||||
|
||||
if ($code = $this->option('execute')) {
|
||||
|
||||
Reference in New Issue
Block a user