summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-05-25 09:32:22 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-05-25 09:32:22 -0600
commit33315b228d1ef1e9679be2263e95011a8f160ae1 (patch)
treee840bef2274f3b1f03990c89746847afc1a21db1
parent5093e972d2fa48f2e039bcf8bdfebaf81cb00291 (diff)
Fixed external files generation
-rw-r--r--src/Companion.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index 364f373..d5d4801 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -313,7 +313,10 @@ void Companion::ParseCurrentFileConfig(YAML::Node node) {
YAML::Node root = YAML::LoadFile(externalFileName);
- ProcessFile(root);
+ if (!this->gProcessedFiles.contains(this->gCurrentFile)) {
+ ProcessFile(root);
+ this->gProcessedFiles.insert(this->gCurrentFile);
+ }
SPDLOG_INFO("Finishing processing of file: {}", currentFile);