diff --git a/src/plugin.ts b/src/plugin.ts index b7873a76..722e3f87 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -193,10 +193,9 @@ export abstract class Plugin { */ private onListening() { const addr = this.server.address(); + /* istanbul ignore next */ const bind = typeof addr === 'string' - /* istanbul ignore next */ ? `pipe ${addr}` : addr === null - /* istanbul ignore next */ ? 'null' : `port ${addr.port}`; Logger.ok(`Listening on ${bind}`); }