改名
This commit is contained in:
@@ -320,13 +320,14 @@ class Loader extends BaseObject
|
|||||||
/**
|
/**
|
||||||
* @param FileTree[] $nodes
|
* @param FileTree[] $nodes
|
||||||
* @param string|null $outPath
|
* @param string|null $outPath
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function eachNode(array $nodes, ?string $outPath = '')
|
private function eachNode(array $nodes, ?string $outPath = '')
|
||||||
{
|
{
|
||||||
foreach ($nodes as $node) {
|
foreach ($nodes as $node) {
|
||||||
$this->execute($node->getFiles());
|
$this->execute($node->getFiles());
|
||||||
|
$this->addError($node->getDirPath() . '-->' . $outPath);
|
||||||
if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) {
|
if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) {
|
||||||
var_dump($node->getDirPath(), $outPath);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$childes = $node->getChildes();
|
$childes = $node->getChildes();
|
||||||
|
|||||||
Reference in New Issue
Block a user