We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4cc6fd commit f83e16eCopy full SHA for f83e16e
src/ipc.ts
@@ -55,10 +55,8 @@ export class IpcSocket {
55
if (validate) {
56
this.validators[schema.properties.messageType.const] = validate;
57
}
58
- } else {
59
- if (process.env.DEBUG) {
60
- console.debug(`Ignoring ${schema.$id} because it has no messageType`);
61
- }
+ } else if (process.env.DEBUG) {
+ console.debug(`Ignoring ${schema.$id} because it has no messageType`);
62
63
64
0 commit comments