mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
committed by
Rainer Killinger
parent
12b71ba1f1
commit
e70e50a1ea
12
src/cli.ts
12
src/cli.ts
@@ -86,12 +86,8 @@ function onError(error: Error | any) {
|
||||
*/
|
||||
function onListening() {
|
||||
const addr = server.address();
|
||||
if (addr === null) {
|
||||
logger.warn('Listening on null');
|
||||
} else {
|
||||
const bind = typeof addr === 'string'
|
||||
? 'pipe ' + addr
|
||||
: 'port ' + addr.port;
|
||||
logger.ok('Listening on ' + bind);
|
||||
}
|
||||
const bind = typeof addr === 'string'
|
||||
? 'pipe ' + addr
|
||||
: 'port ' + addr.port;
|
||||
logger.ok('Listening on ' + bind);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user