This commit is contained in:
2021-04-14 17:32:17 +08:00
parent 6a989011d4
commit 7222bf6ae6
+3 -2
View File
@@ -279,9 +279,10 @@ class Loader extends BaseObject
foreach ($directory as $key => $value) {
$out_path .= DIRECTORY_SEPARATOR . $value;
$this->error($filePath . '->' . $out_path);
if ($out_path !== $output) {
$tree = $this->getTree($tree, $value);
if (str_contains($filePath, $output)) {
continue;
}
$tree = $this->getTree($tree, $value);
}
if ($tree instanceof FileTree) {
$this->eachNode($tree->getChildes());