From 0b50d50f3b1efcf092f81a50eefd1a090cee7c42 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Mon, 7 Sep 2020 01:25:39 +0000 Subject: [PATCH] minor cleanup --- core/core.mjs | 3 --- core/util.mjs | 1 - 2 files changed, 4 deletions(-) diff --git a/core/core.mjs b/core/core.mjs index 2692136..376406c 100644 --- a/core/core.mjs +++ b/core/core.mjs @@ -77,9 +77,6 @@ export default class Core extends EventEmitter{ } logActive(name, active, logline, doNotPrint = false) { - if (!logline.replace) { - console.log(logline) - } if (!doNotPrint) { this._log.info(`Log ${name}: ` + logline.replace(/\n/g, '')) } diff --git a/core/util.mjs b/core/util.mjs index 39c10f0..e4f2b06 100644 --- a/core/util.mjs +++ b/core/util.mjs @@ -8,7 +8,6 @@ export function getPathFromRoot(add) { } export function runCommand(command, options = [], folder = null, stream = function() {}) { - console.log(command, options.join(' ')) return new Promise(function(res, rej) { let processor = spawn(command, options, { shell: true,