This commit is contained in:
Feross Aboukhadijeh 2015-12-16 12:19:44 +13:00
parent e767760340
commit c0555f4e1d

View File

@ -130,7 +130,7 @@ Server.prototype.listen = function (/* port, hostname, onlistening */) {
var port = toNumber(arguments[0]) || arguments[0] || 0
var hostname = typeof arguments[1] !== 'function' ? arguments[1] : undefined
debug('listen port: %o hostname: %o', port, hostname)
debug('listen (port: %o hostname: %o)', port, hostname)
function isObject (obj) {
return typeof obj === 'object' && obj !== null