RuiSiang / PoW-Shield

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
8 months ago8 months old
Unexpected string concatenation
56      typeof addr === 'string'
57        ? `pipe ${addr}`
58        : `port ${addr.port.toString() as string}`
59    debug('Listening on ' + bind)60  }
61}
62