@oclif/core 2.8.5 → 2.8.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.
|
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
// 3pp
|
|
4
4
|
const cli_progress_1 = require("cli-progress");
|
|
5
5
|
function progress(options = {}) {
|
|
6
|
-
|
|
7
|
-
options.noTTYOutput = Boolean(process.env.TERM === 'dumb' || !process.stdin.isTTY);
|
|
8
|
-
return new cli_progress_1.SingleBar(options);
|
|
6
|
+
return new cli_progress_1.SingleBar({ noTTYOutput: Boolean(process.env.TERM === 'dumb' || !process.stdin.isTTY), ...options });
|
|
9
7
|
}
|
|
10
8
|
exports.default = progress;
|