mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
Address feedback
This commit is contained in:
parent
c8d357e601
commit
31476cf2b8
@ -100,16 +100,16 @@ class ProcessLauncher {
|
||||
if(typeof msg.message === 'string') {
|
||||
processedMessages = [msg.message];
|
||||
} else {
|
||||
msg.message.forEach((message) => {
|
||||
msg.message.forEach(message => {
|
||||
let lines = message.split("\n");
|
||||
lines.forEach((line) => { processedMessages.push(line); });
|
||||
lines.forEach(line => processedMessages.push(line));
|
||||
});
|
||||
}
|
||||
|
||||
const timestamp = new Date().getTime();
|
||||
|
||||
processedMessages.forEach((message) => {
|
||||
this.events.emit('process-log-' + this.name, msg.type, message, this.name, timestamp);
|
||||
this.events.emit(`process-log-${this.name}`, msg.type, message, this.name, timestamp);
|
||||
this.logs.push({
|
||||
msg: message,
|
||||
msg_clear: message.stripColors,
|
||||
|
Loading…
x
Reference in New Issue
Block a user