mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
simplify return
This commit is contained in:
parent
770347adb9
commit
26f2588b2f
@ -78,9 +78,7 @@ export default class Listener {
|
||||
this._server.close()
|
||||
this.port = await getPort()
|
||||
|
||||
await this.serverListen()
|
||||
|
||||
return
|
||||
return await this.serverListen()
|
||||
}
|
||||
|
||||
consola.error(e)
|
||||
|
Loading…
Reference in New Issue
Block a user