diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-05-25 09:32:22 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-05-25 09:32:22 -0600 |
| commit | 33315b228d1ef1e9679be2263e95011a8f160ae1 (patch) | |
| tree | e840bef2274f3b1f03990c89746847afc1a21db1 | |
| parent | 5093e972d2fa48f2e039bcf8bdfebaf81cb00291 (diff) | |
Fixed external files generation
| -rw-r--r-- | src/Companion.cpp | 5 |
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); |
