paratix 0.12.4 → 0.12.6

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/cli.js CHANGED
@@ -2777,7 +2777,7 @@ async function sftpDownload(client, remotePath, localPath, timeout = SFTP_TIMEOU
2777
2777
  return;
2778
2778
  }
2779
2779
  wireStreams({
2780
- completionEvents: ["finish"],
2780
+ completionEvents: ["finish", "close"],
2781
2781
  connectionAbortSignal,
2782
2782
  readStream: streams.readStream,
2783
2783
  reject: rejectWithCleanup,
@@ -2823,9 +2823,8 @@ async function sftpUpload(client, localPath, remotePath, timeout = SFTP_TIMEOUT,
2823
2823
  return;
2824
2824
  }
2825
2825
  wireStreams({
2826
- completionEvents: ["finish"],
2826
+ completionEvents: ["finish", "close"],
2827
2827
  connectionAbortSignal,
2828
- prematureCloseMessage: `SFTP upload closed before finish: ${maskedRemotePath}`,
2829
2828
  readStream: streams.readStream,
2830
2829
  reject,
2831
2830
  resolve: resolve2,
@@ -2858,9 +2857,8 @@ async function sftpUploadContent(client, content, remotePath, timeout = SFTP_TIM
2858
2857
  return;
2859
2858
  }
2860
2859
  wireStreams({
2861
- completionEvents: ["finish"],
2860
+ completionEvents: ["finish", "close"],
2862
2861
  connectionAbortSignal,
2863
- prematureCloseMessage: `SFTP content upload closed before finish: ${maskedRemotePath}`,
2864
2862
  readStream: streams.readStream,
2865
2863
  reject,
2866
2864
  resolve: resolve2,
@@ -5523,7 +5521,7 @@ async function runApplyCommand(file, options, run = runPlaybook) {
5523
5521
  if (options.diff && !options.dryRun) {
5524
5522
  throw new CliUsageError("--diff requires --dry-run");
5525
5523
  }
5526
- printCliHeader("0.12.4-9540084");
5524
+ printCliHeader("0.12.6-619cc0d");
5527
5525
  const environmentOverrides = applyCliEnvironmentOverrides(options.env, {
5528
5526
  firstRun: options.firstRun
5529
5527
  });
@@ -5552,7 +5550,7 @@ function exitAfterApplyError(error, verbose) {
5552
5550
  process.exit(exitCode);
5553
5551
  }
5554
5552
  var program = new Command();
5555
- program.name("paratix").description("Idempotent VPS setup tool in TypeScript").version("0.12.4-9540084");
5553
+ program.name("paratix").description("Idempotent VPS setup tool in TypeScript").version("0.12.6-619cc0d");
5556
5554
  program.command("apply <file>").description("Apply a server definition").option(
5557
5555
  "--diff",
5558
5556
  "When combined with --dry-run, show a unified diff per module that would change.",