@pnpm/link-bins
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -77,3 +77,3 @@ "use strict"; | ||
if (R.isEmpty(pkg.bin)) { | ||
throw new error_1.default('INVALID_PACKAGE_BIN', `Package in ${target} must have a non-empty bin field to get bin linked.`); | ||
opts.warn(`Package in ${target} must have a non-empty bin field to get bin linked.`); | ||
} | ||
@@ -80,0 +80,0 @@ if (typeof pkg.bin === 'string' && !pkg.name) { |
{ | ||
"name": "@pnpm/link-bins", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Link bins to node_modules/.bin", | ||
@@ -52,3 +52,3 @@ "main": "lib/index.js", | ||
"@types/ncp": "^2.0.3", | ||
"@types/node": "^12.12.25", | ||
"@types/node": "^12.12.26", | ||
"@types/normalize-path": "^3.0.0", | ||
@@ -60,3 +60,3 @@ "@types/ramda": "^0.26.40", | ||
"path-exists": "^4.0.0", | ||
"rimraf": "^3.0.0", | ||
"rimraf": "^3.0.1", | ||
"sinon": "8.1.1", | ||
@@ -63,0 +63,0 @@ "tempy": "^0.3.0" |
9072