From 03f365b1f5e7c2addd35ad5d2567918745196d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 14 Apr 2021 18:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 4a605dac..84c9393c 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -325,8 +325,8 @@ class Loader extends BaseObject { foreach ($nodes as $node) { $this->execute($node->getFiles()); - $this->addError($node->getDirPath() . '-->' . $outPath); if (!empty($outPaht) && str_contains($node->getDirPath(), $outPath)) { + $this->addError($node->getDirPath() . '-->' . $outPath); continue; } $childes = $node->getChildes();