Skip to content

Commit 3d264ec

Browse files
committed
Fix CI findings
1 parent 0c76cc1 commit 3d264ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/projmgr/src/ProjMgrCbuildIdx.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ ProjMgrCbuildIdx::ProjMgrCbuildIdx(YAML::Node node,
3737
SetNodeValue(node[YAML_CDEFAULT], FormatPath(parser->GetCdefault().path, directory));
3838
}
3939
SetNodeValue(node[YAML_CSOLUTION], FormatPath(parser->GetCsolution().path, directory));
40-
SetNodeValue(node[YAML_CBUILD_RUN], FormatPath(cbuildRun, directory));
40+
if (!cbuildRun.empty()) {
41+
SetNodeValue(node[YAML_CBUILD_RUN], FormatPath(cbuildRun, directory));
42+
}
4143
SetNodeValue(node[YAML_OUTPUT_TMPDIR], FormatPath(parser->GetCsolution().directories.tmpdir, directory));
4244

4345
// Generate layer info for each target

0 commit comments

Comments
 (0)