fix: correctly locate package.json when installed globally
This commit is contained in:
parent
6bdfce04d1
commit
1c80365812
|
@ -6,7 +6,7 @@ channel=$(
|
|||
node -p '
|
||||
let p;
|
||||
try {
|
||||
p = require("@solana/web3.js/package.json");
|
||||
p = require("../lib/node_modules/@solana/web3.js/package.json");
|
||||
} catch (err) {
|
||||
p = require("../package.json");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue