Annotation code fix (#1335)

Co-authored-by: lmvysakh <lmvysakh@github.com>
This commit is contained in:
lmvysakhandlmvysakh authored and GitHub committed 2026-07-13 13:28:55 -05:00
1 parent 6849080452
commit c7092773a3
2 files changed
+13 -2

No files matched your search

+7 -1
View File
@@ -55759,7 +55759,13 @@ async function installPython(workingDirectory) {
core.info(data.toString().trim());
},
stderr: (data) => {
core.error(data.toString().trim());
const msg = data.toString().trim();
if (/^WARNING:/im.test(msg)) {
core.warning(msg);
}
else {
core.error(msg);
}
}
}
};