Update InstallService.php

This commit is contained in:
Anyon 2020-08-24 13:11:05 +08:00
parent 417118eebb
commit 5617db4e42

View File

@ -188,7 +188,7 @@ class InstallService extends Service
*/ */
private function _scanList($path, $data = []): array private function _scanList($path, $data = []): array
{ {
foreach (NodeService::instance()->scanDirectory($path) as $file) { foreach (NodeService::instance()->scanDirectory($path, [], null) as $file) {
$data[] = $this->_getInfo(strtr($file, '\\', '/')); $data[] = $this->_getInfo(strtr($file, '\\', '/'));
} }
return $data; return $data;