politty 0.4.2 → 0.4.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.
@@ -1569,6 +1569,7 @@ async function runMain(command, options = {}) {
1569
1569
  rootVersion: options.version
1570
1570
  }
1571
1571
  });
1572
+ if (process.stdout.writableLength > 0) await new Promise((resolve) => process.stdout.once("drain", resolve));
1572
1573
  process.exit(result.exitCode);
1573
1574
  }
1574
1575
  /**
@@ -1713,4 +1714,4 @@ async function runCommandInternal(command, argv, options = {}) {
1713
1714
 
1714
1715
  //#endregion
1715
1716
  export { symbols as C, styles as S, renderInline as _, parseArgv as a, logger as b, validateDuplicateAliases as c, validateReservedAliases as d, DuplicateAliasError as f, generateHelp as g, ReservedAliasError as h, formatValidationErrors as i, validateDuplicateFields as l, PositionalConfigError as m, runMain as n, formatCommandValidationErrors as o, DuplicateFieldError as p, runner_exports as r, validateCommand as s, runCommand as t, validatePositionalConfig as u, renderMarkdown as v, setColorEnabled as x, isColorEnabled as y };
1716
- //# sourceMappingURL=runner-B6W9A8P0.js.map
1717
+ //# sourceMappingURL=runner-D6k4BgB4.js.map