@kody-ade/kody-engine-lite 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +6 -0
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -1840,6 +1840,12 @@ Artifacts in ${taskDir}:`);
|
|
|
1840
1840
|
console.log(` ${f}`);
|
|
1841
1841
|
}
|
|
1842
1842
|
if (state.state === "failed") {
|
|
1843
|
+
const isPaused = Object.values(state.stages).some(
|
|
1844
|
+
(s) => typeof s === "object" && s !== null && "error" in s && typeof s.error === "string" && s.error.includes("paused")
|
|
1845
|
+
);
|
|
1846
|
+
if (isPaused) {
|
|
1847
|
+
process.exit(0);
|
|
1848
|
+
}
|
|
1843
1849
|
if (ctx.input.issueNumber && !ctx.input.local) {
|
|
1844
1850
|
const failedStage = Object.entries(state.stages).find(
|
|
1845
1851
|
([, s]) => s.state === "failed" || s.state === "timeout"
|