diff options
Diffstat (limited to 'node_modules/concurrently/dist/src/flow-control/log-exit.js')
| -rw-r--r-- | node_modules/concurrently/dist/src/flow-control/log-exit.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/node_modules/concurrently/dist/src/flow-control/log-exit.js b/node_modules/concurrently/dist/src/flow-control/log-exit.js deleted file mode 100644 index 6fe396d..0000000 --- a/node_modules/concurrently/dist/src/flow-control/log-exit.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LogExit = void 0; -/** - * Logs the exit code/signal of commands. - */ -class LogExit { - constructor({ logger }) { - this.logger = logger; - } - handle(commands) { - commands.forEach((command) => command.close.subscribe(({ exitCode }) => { - this.logger.logCommandEvent(`${command.command} exited with code ${exitCode}`, command); - })); - return { commands }; - } -} -exports.LogExit = LogExit; |
