Fix no output from errors
parent
31519f19df
commit
c387abc50e
|
|
@ -29,14 +29,14 @@ class System {
|
||||||
core.info(result);
|
core.info(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exitCode !== 0) {
|
|
||||||
throw new Error(error);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (error !== '') {
|
if (error !== '') {
|
||||||
core.warning(error);
|
core.warning(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (exitCode !== 0) {
|
||||||
|
throw new Error(error);
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue