fix: correctly locate package.json when installed globally

This commit is contained in:
Michael Vines 2019-02-16 18:56:43 -08:00
parent 6bdfce04d1
commit 1c80365812
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}