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) {
if (!logline.replace) {
console.log(logline)
}
if (!doNotPrint) {
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() {}) {
console.log(command, options.join(' '))
return new Promise(function(res, rej) {
let processor = spawn(command, options, {
shell: true,