Update Companion.cpp (#195)

This commit is contained in:
coco875
2025-08-20 11:08:40 -06:00
committed by GitHub
parent c7977c6e35
commit f3febeb691
+2
View File
@@ -941,6 +941,7 @@ void Companion::ProcessFile(YAML::Node root) {
std::string buffer = stream.str();
if(buffer.empty()) {
SPDLOG_WARN("No data to write for {}", this->gCurrentFile);
return;
}
@@ -951,6 +952,7 @@ void Companion::ProcessFile(YAML::Node root) {
}
std::ofstream file(output, std::ios::binary);
SPDLOG_INFO("Writing {} to {}", this->gCurrentFile, output);
if(this->gConfig.exporterType == ExportType::Header) {
fs::path entryPath = this->gCurrentFile;