Skip to content

Commit 093c4b2

Browse files
committed
Address CI tests finding
1 parent 14b339b commit 093c4b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/projmgr/src/ProjMgrCbuildRun.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ void ProjMgrCbuildRun::SetTelnetNode(YAML::Node node, const std::map<std::string
157157
SetNodeValue(telnetNode[YAML_MODE], item.mode);
158158
SetNodeValue(telnetNode[YAML_PNAME], pname);
159159
telnetNode[YAML_PORT] = item.ullPort;
160-
SetNodeValue(telnetNode[YAML_FILE], FormatPath(item.file, m_directory));
160+
if (!item.file.empty()) {
161+
SetNodeValue(telnetNode[YAML_FILE], FormatPath(item.file, m_directory));
162+
}
161163
node.push_back(telnetNode);
162164
}
163165
}

0 commit comments

Comments
 (0)