@abtnode/util 1.6.24 → 1.6.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ module.exports = (binaryName, packageName) => {
17
17
  // Check if the package is installed via pnpm: only if we have packageName set
18
18
  let binDir = path.dirname(fs.realpathSync(binPath));
19
19
  if (packageName) {
20
- const { stdout: pnpmPath } = shell.which('pnpm');
20
+ const { stdout: pnpmPath } = shell.which('pnpm') || {};
21
21
  if (pnpmPath) {
22
22
  result = shell.exec('pnpm bin -g', { silent: true });
23
23
  const pnpmBinDir = result.stdout.trim();
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.6.24",
6
+ "version": "1.6.25",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -53,5 +53,5 @@
53
53
  "fs-extra": "^10.0.0",
54
54
  "jest": "^27.4.5"
55
55
  },
56
- "gitHead": "6bd8792a155ebbbefea6ca3d42c5b59b354d9879"
56
+ "gitHead": "bd2ad7d90fbd1b3786702dfca1ab28dcec9a7bc7"
57
57
  }