fix: validate provider bootstrap SSH bridge
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / unidesk-host- Success

This commit is contained in:
李昂
2026-07-10 14:51:57 +08:00
parent bfa2ac8fac
commit aa454c6fe1
3 changed files with 72 additions and 14 deletions
+4 -1
View File
@@ -631,7 +631,10 @@ async function main(): Promise<void> {
}
if (top === "provider") {
emitJson(commandName, await runProviderCommand(config, args.slice(1)));
const result = await runProviderCommand(config, args.slice(1));
const ok = resultOk(result);
emitJson(commandName, result, ok);
if (!ok) process.exitCode = 1;
return;
}