forked from pool/bitwarden
fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/bitwarden?expand=0&rev=2
This commit is contained in:
parent
6ca83b2671
commit
3f2101f6cf
@ -9,7 +9,7 @@ Remove dependency on node-pre-gyp which brings a lot of garbage
|
|||||||
-const binary = require("@mapbox/node-pre-gyp");
|
-const binary = require("@mapbox/node-pre-gyp");
|
||||||
|
|
||||||
-const bindingPath = binary.find(path.resolve(__dirname, "./package.json"));
|
-const bindingPath = binary.find(path.resolve(__dirname, "./package.json"));
|
||||||
+const bindingPath = "lib/binding/napi-v3/argon2.node"
|
+const bindingPath = "./lib/binding/napi-v3/argon2.node"
|
||||||
const { hash: _hash } = require(bindingPath);
|
const { hash: _hash } = require(bindingPath);
|
||||||
|
|
||||||
const { deserialize, serialize } = require("@phc/format");
|
const { deserialize, serialize } = require("@phc/format");
|
||||||
|
Loading…
Reference in New Issue
Block a user