This commit is contained in:
2021-04-14 18:26:50 +08:00
parent 710d49b2c8
commit 4d71c5036b
+2 -1
View File
@@ -320,13 +320,14 @@ class Loader extends BaseObject
/**
* @param FileTree[] $nodes
* @param string|null $outPath
* @throws Exception
*/
private function eachNode(array $nodes, ?string $outPath = '')
{
foreach ($nodes as $node) {
$this->execute($node->getFiles());
$this->addError($node->getDirPath() . '-->' . $outPath);
if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) {
var_dump($node->getDirPath(), $outPath);
continue;
}
$childes = $node->getChildes();