Skip to content

Commit f83e16e

Browse files
committed
eslint
1 parent c4cc6fd commit f83e16e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ipc.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ export class IpcSocket {
5555
if (validate) {
5656
this.validators[schema.properties.messageType.const] = validate;
5757
}
58-
} else {
59-
if (process.env.DEBUG) {
60-
console.debug(`Ignoring ${schema.$id} because it has no messageType`);
61-
}
58+
} else if (process.env.DEBUG) {
59+
console.debug(`Ignoring ${schema.$id} because it has no messageType`);
6260
}
6361
}
6462

0 commit comments

Comments
 (0)