simplify return

This commit is contained in:
Ricardo Gobbo de Souza 2018-11-27 20:56:19 -02:00
parent 770347adb9
commit 26f2588b2f

View File

@ -78,9 +78,7 @@ export default class Listener {
this._server.close() this._server.close()
this.port = await getPort() this.port = await getPort()
await this.serverListen() return await this.serverListen()
return
} }
consola.error(e) consola.error(e)