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 cdfeead commit 14b318aCopy full SHA for 14b318a
1 file changed
src/command.ts
@@ -274,7 +274,7 @@ export class Command implements CommandInfo {
274
* or rejects if it fails to deliver the message.
275
*/
276
send(message: object, handle?: SendHandle, options?: MessageOptions): Promise<void> {
277
- if (!this.ipc) {
+ if (this.ipc == null) {
278
throw new Error('Command IPC is disabled');
279
}
280
return new Promise((resolve, reject) => {
0 commit comments