We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60dc30f commit 93ad859Copy full SHA for 93ad859
lib/types.js
@@ -200,7 +200,7 @@ module.exports.toKebab = x => x.replace(/_/g, '-')
200
201
module.exports.errors = {
202
connection: (x, options) => Object.assign(
203
- new Error('write CONNECTION_' + x + ' ' + options.path || (options.host + ':' + options.port)),
+ new Error(('write CONNECTION_' + x + ' ' + (options.path || (options.host + ':' + options.port)))),
204
{
205
code: 'CONNECTION_' + x,
206
errno: 'CONNECTION_' + x,
0 commit comments