From abddcad93ebf05df28afe6605b625625684f3fcc Mon Sep 17 00:00:00 2001 From: kounch Date: Thu, 24 May 2018 19:29:04 +0200 Subject: [PATCH] path fix --- lib/native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/native.js b/lib/native.js index 68c4e79..051c847 100644 --- a/lib/native.js +++ b/lib/native.js @@ -2,7 +2,7 @@ var events = require('events'); var binary = require('node-pre-gyp'); var path = require('path'); -var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json'))); +var binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); var binding = require(binding_path); var BluetoothHciSocket = binding.BluetoothHciSocket;