bin-wrapper
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -205,4 +205,2 @@ 'use strict'; | ||
process.env.PATH = this.env.join(path.delimiter); | ||
if (files.length && isPathGlobal(files[0])) { | ||
@@ -235,2 +233,7 @@ return symlink(files[0], self.path(), function (err) { | ||
if (this.opts.skip) { | ||
cb(); | ||
return; | ||
} | ||
binCheck(this.path(), cmd, function (err, works) { | ||
@@ -237,0 +240,0 @@ if (err) { |
{ | ||
"name": "bin-wrapper", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Binary wrapper that makes your programs seamlessly available as local dependencies", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -48,2 +48,3 @@ # bin-wrapper [![Build Status](http://img.shields.io/travis/kevva/bin-wrapper.svg?style=flat)](https://travis-ci.org/kevva/bin-wrapper) | ||
* `progress`: Show a progress bar when downloading files. Defaults to `true`. | ||
* `skip`: Whether to skip checking if the binary works or not. Defaults to `false`. | ||
* `strip`: Strip a number of leading paths from file names on extraction. Defaults to `1`. | ||
@@ -50,0 +51,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9362
4
254
117
2