Commit 6bfb7075 authored by Robert Knight's avatar Robert Knight

Use falsey condition for stylistic consistency

parent 31688be1
......@@ -186,7 +186,7 @@ export class PortRPC {
const msg = this._parseMessage(event);
const port = this._port;
if (msg === null || !port) {
if (!msg || !port) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment