mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-19 14:36:48 -07:00
Fix no output from errors
This commit is contained in:
+4
-4
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user