diff --git a/src/Bootstraps/DiscoveryLocationBootstrap.php b/src/Bootstraps/DiscoveryLocationBootstrap.php index 14ebee2..8579747 100644 --- a/src/Bootstraps/DiscoveryLocationBootstrap.php +++ b/src/Bootstraps/DiscoveryLocationBootstrap.php @@ -67,6 +67,13 @@ private function discoverAppNamespaces(): array $discoveredLocations = []; foreach ($namespaceMap as $namespace => $path) { + // TODO: Refactor before v1! + // This was added by Aidan Casey on June 3rd, 2024. + // It was added as a workaround to console being discovered twice. + if ($namespace === 'Tempest\\Console\\') { + continue; + } + $path = PathHelper::make($this->appConfig->root, $path); $discoveredLocations[] = new DiscoveryLocation($namespace, $path);