Skip to content

Commit

Permalink
Fix this.opts.strip if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kevva committed Aug 14, 2015
1 parent b0ce0d6 commit 039a2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function BinWrapper(opts) {

this.opts = opts || {};

if (this.opts.strip <= 0 || !this.opts.strip) {
if (this.opts.strip <= 0) {
this.opts.strip = 0;
} else if (!this.opts.strip) {
this.opts.strip = 1;
Expand Down

0 comments on commit 039a2e5

Please sign in to comment.