diff --git a/Repository.php b/Repository.php index 0302287..05c40b8 100644 --- a/Repository.php +++ b/Repository.php @@ -123,9 +123,7 @@ public function scan() foreach ($manifests as $manifest) { $name = Json::make($manifest)->get('name'); - $lowerName = strtolower($name); - - $modules[$name] = new Module($this->app, $lowerName, dirname($manifest)); + $modules[$name] = new Module($this->app, $name, dirname($manifest)); } }