fix: validate provider bootstrap SSH bridge
This commit is contained in:
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user