Skip to content

Commit

Permalink
Add binding_path path fix
Browse files Browse the repository at this point in the history
Change-Id: Ide752983f00395cf8cb59ab727a58ff0692112dd
Origin: https://github.com/jrobeson/node-bluetooth-hci-socket
Forwarded: noble#91
  • Loading branch information
johnny authored and rzr committed Dec 14, 2018
1 parent 91ebcfe commit ef70ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ef70ab5

Please sign in to comment.