mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
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…
x
Reference in New Issue
Block a user