@opengeni/runtime 0.13.12 → 0.14.0

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.
@@ -23377,14 +23377,14 @@ function withDockerNetwork(client, network) {
23377
23377
  };
23378
23378
  }
23379
23379
  async function connectDockerNetwork(network, containerId) {
23380
- const result = Bun.spawnSync(["docker", "network", "connect", network, containerId], {
23381
- stdout: "pipe",
23382
- stderr: "pipe"
23380
+ const { spawnSync: spawnSync2 } = await import("child_process");
23381
+ const result = spawnSync2("docker", ["network", "connect", network, containerId], {
23382
+ encoding: "utf8"
23383
23383
  });
23384
- if (result.exitCode === 0) {
23384
+ if (result.status === 0) {
23385
23385
  return;
23386
23386
  }
23387
- const stderr = new TextDecoder().decode(result.stderr);
23387
+ const stderr = result.stderr ?? result.error?.message ?? "";
23388
23388
  if (stderr.includes("already exists")) {
23389
23389
  return;
23390
23390
  }
@@ -24048,4 +24048,4 @@ export {
24048
24048
  collectSandboxEnvironment2 as collectSandboxEnvironment,
24049
24049
  parseExposedPorts2 as parseExposedPorts
24050
24050
  };
24051
- //# sourceMappingURL=chunk-FLRCDJRI.js.map
24051
+ //# sourceMappingURL=chunk-3NUSY22C.js.map