node-homebridge: update to 1.1.2

update to 1.1.2
Add opkg package path to the homebrodge plugin module path.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This commit is contained in:
Hirokazu MORIKAWA
2020-08-27 08:11:59 +09:00
parent 0294be7c98
commit e1406bba5a
2 changed files with 26 additions and 10 deletions
@@ -0,0 +1,10 @@
--- a/lib/pluginManager.js
+++ b/lib/pluginManager.js
@@ -308,6 +308,7 @@
else {
this.searchPaths.add("/usr/local/lib/node_modules");
this.searchPaths.add("/usr/lib/node_modules");
+ this.searchPaths.add("/usr/lib/node");
this.searchPaths.add(child_process_1.execSync("/bin/echo -n \"$(npm --no-update-notifier -g prefix)/lib/node_modules\"").toString("utf8"));
}
}