@oclif/core 1.13.5 → 1.13.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.13.6](https://github.com/oclif/core/compare/v1.13.5...v1.13.6) (2022-08-08)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * flush not hitting drain condition ([#448](https://github.com/oclif/core/issues/448)) ([05dd5fe](https://github.com/oclif/core/commit/05dd5fe08b57aa716c07cc51e8ed407c9e7b6aa5))
11
+
5
12
  ### [1.13.5](https://github.com/oclif/core/compare/v1.13.4...v1.13.5) (2022-08-08)
6
13
 
7
14
 
@@ -28,7 +28,10 @@ async function flush() {
28
28
  const p = new Promise(resolve => {
29
29
  process.stdout.once('drain', () => resolve(null));
30
30
  });
31
- process.stdout.write('');
31
+ const flushed = process.stdout.write('');
32
+ if (flushed) {
33
+ return Promise.resolve();
34
+ }
32
35
  return p;
33
36
  }
34
37
  exports.ux = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "1.13.5",
4
+ "version": "1.13.6",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {