paratix 0.12.3 → 0.12.4
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
|
@@ -2640,6 +2640,10 @@ function buildStreamListeners(parameters) {
|
|
|
2640
2640
|
return {
|
|
2641
2641
|
onClose() {
|
|
2642
2642
|
if (prematureCloseMessage === void 0) return;
|
|
2643
|
+
if (writeStream.writableFinished) {
|
|
2644
|
+
getSettlement().resolveOnce();
|
|
2645
|
+
return;
|
|
2646
|
+
}
|
|
2643
2647
|
readStream.destroy();
|
|
2644
2648
|
if (typeof writeStream.destroy === "function") writeStream.destroy();
|
|
2645
2649
|
getSettlement().rejectOnce(new Error(prematureCloseMessage));
|
|
@@ -5519,7 +5523,7 @@ async function runApplyCommand(file, options, run = runPlaybook) {
|
|
|
5519
5523
|
if (options.diff && !options.dryRun) {
|
|
5520
5524
|
throw new CliUsageError("--diff requires --dry-run");
|
|
5521
5525
|
}
|
|
5522
|
-
printCliHeader("0.12.
|
|
5526
|
+
printCliHeader("0.12.4-9540084");
|
|
5523
5527
|
const environmentOverrides = applyCliEnvironmentOverrides(options.env, {
|
|
5524
5528
|
firstRun: options.firstRun
|
|
5525
5529
|
});
|
|
@@ -5548,7 +5552,7 @@ function exitAfterApplyError(error, verbose) {
|
|
|
5548
5552
|
process.exit(exitCode);
|
|
5549
5553
|
}
|
|
5550
5554
|
var program = new Command();
|
|
5551
|
-
program.name("paratix").description("Idempotent VPS setup tool in TypeScript").version("0.12.
|
|
5555
|
+
program.name("paratix").description("Idempotent VPS setup tool in TypeScript").version("0.12.4-9540084");
|
|
5552
5556
|
program.command("apply <file>").description("Apply a server definition").option(
|
|
5553
5557
|
"--diff",
|
|
5554
5558
|
"When combined with --dry-run, show a unified diff per module that would change.",
|