concurrently 9.1.1 → 9.1.2
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/src/index.js +8 -7
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -34,13 +34,14 @@ function concurrently(commands, options = {}) {
|
|
|
34
34
|
// keep in the list of commands to hide only strings with some length.
|
|
35
35
|
// This might happen through the CLI when no `--hide` argument is specified, for example.
|
|
36
36
|
const hide = lodash_1.default.castArray(options.hide).filter((id) => id || id === 0);
|
|
37
|
-
const logger =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
const logger = options.logger ||
|
|
38
|
+
new logger_1.Logger({
|
|
39
|
+
hide,
|
|
40
|
+
prefixFormat: options.prefix,
|
|
41
|
+
commandLength: options.prefixLength,
|
|
42
|
+
raw: options.raw,
|
|
43
|
+
timestampFormat: options.timestampFormat,
|
|
44
|
+
});
|
|
44
45
|
if (options.prefixColors === false) {
|
|
45
46
|
logger.toggleColors(false);
|
|
46
47
|
}
|
package/package.json
CHANGED