From c0ce6bf0196bda83f9e9f2ba0e9c4a1b95639e26 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 16 Dec 2016 17:35:38 +0000 Subject: [PATCH] Don't use __dirname --- lib/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection.js b/lib/connection.js index d8290aa..26819ff 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -10,7 +10,7 @@ var net = require('net'); var EventEmitter = require('events').EventEmitter; var util = require('util'); -var defaults = require(__dirname + '/defaults'); +var defaults = require('./defaults'); var Writer = require('buffer-writer'); var Reader = require('packet-reader');