Fix no output from errors

pull/92/head
Webber 2020-05-21 20:05:06 +02:00
parent 31519f19df
commit c387abc50e
1 changed files with 4 additions and 4 deletions

View File

@ -29,14 +29,14 @@ class System {
core.info(result);
}
if (exitCode !== 0) {
throw new Error(error);
}
if (error !== '') {
core.warning(error);
}
if (exitCode !== 0) {
throw new Error(error);
}
return result;
}
}