This commit is contained in:
2021-08-05 16:30:45 +08:00
parent b2e3f7442a
commit 73a452fdf1
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ if (!function_exists('scan_directory')) {
function scan_directory($dir, $namespace, array $exclude = [])
{
$annotation = Snowflake::app()->getAnnotation();
$annotation->read($dir, $namespace);
$annotation->read($dir, $namespace, $exclude);
injectRuntime($dir, $exclude);
}