From 91eba276318030496341eaafe8ad6a177ab526cc Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Tue, 21 Sep 2021 16:51:53 +0200 Subject: [PATCH] fix missing await --- lib/io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/io.js b/lib/io.js index 1f741bf..c16dd1e 100644 --- a/lib/io.js +++ b/lib/io.js @@ -133,7 +133,7 @@ module.exports = class IO { } async _bindSockets () { - this.serverSocket = typeof this._bind === 'function' ? this._bind() : await bind.udp(this._bind) + this.serverSocket = typeof this._bind === 'function' ? await this._bind() : await bind.udp(this._bind) try { // TODO: we should reroll the socket is it's close to our preferred range of ports