minor cleanup
This commit is contained in:
parent
727df0c22f
commit
0b50d50f3b
2 changed files with 0 additions and 4 deletions
|
@ -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, ''))
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue