minor cleanup

This commit is contained in:
Jonatan Nilsson 2020-09-07 01:25:39 +00:00
parent 727df0c22f
commit 0b50d50f3b
2 changed files with 0 additions and 4 deletions

View File

@ -77,9 +77,6 @@ export default class Core extends EventEmitter{
} }
logActive(name, active, logline, doNotPrint = false) { logActive(name, active, logline, doNotPrint = false) {
if (!logline.replace) {
console.log(logline)
}
if (!doNotPrint) { if (!doNotPrint) {
this._log.info(`Log ${name}: ` + logline.replace(/\n/g, '')) this._log.info(`Log ${name}: ` + logline.replace(/\n/g, ''))
} }

View File

@ -8,7 +8,6 @@ export function getPathFromRoot(add) {
} }
export function runCommand(command, options = [], folder = null, stream = function() {}) { export function runCommand(command, options = [], folder = null, stream = function() {}) {
console.log(command, options.join(' '))
return new Promise(function(res, rej) { return new Promise(function(res, rej) {
let processor = spawn(command, options, { let processor = spawn(command, options, {
shell: true, shell: true,