Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 9, 2015
1 parent fe4239a commit 4084b03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/extract.js
Expand Up @@ -11,10 +11,6 @@ function Extract (opts) {
if (!(this instanceof Extract)) return new Extract(opts)
tar.Parse.apply(this)

// have to dump into a directory
opts.type = "Directory"
opts.Directory = true

if (typeof opts !== "object") {
opts = { path: opts }
}
Expand Down

0 comments on commit 4084b03

Please sign in to comment.