use existing process send to avoid the extra if
This commit is contained in:
parent
2c2540417c
commit
ab20b10d5d
|
@ -66,10 +66,7 @@ class ProcessWrapper {
|
|||
if (isHardSource) {
|
||||
return;
|
||||
}
|
||||
if (!process.connected) {
|
||||
return;
|
||||
}
|
||||
process.send({result: constants.process.log, message: messages, type});
|
||||
this.send({result: constants.process.log, message: messages, type});
|
||||
}
|
||||
|
||||
send() {
|
||||
|
|
Loading…
Reference in New Issue