Annotation code fix (#1335)
Co-authored-by: lmvysakh <lmvysakh@github.com>
This commit is contained in:
1 parent
6849080452
commit
c7092773a3
2 files changed
+13
-2
No files matched your search
Vendored
+7
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user