compressing
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -78,8 +78,8 @@ 'use strict'; | ||
if (opts.ignoreBase) { | ||
newOpts.relativePath = path.join(relativePath, fileOrDir); | ||
newOpts.relativePath = path.posix.join(relativePath, fileOrDir); | ||
} else { | ||
newOpts.relativePath = path.join(relativePath, path.basename(entry), fileOrDir); | ||
newOpts.relativePath = path.posix.join(relativePath, path.basename(entry), fileOrDir); | ||
} | ||
newOpts.ignoreBase = true; | ||
this.addEntry(path.join(entry, fileOrDir), newOpts); | ||
this.addEntry(path.posix.join(entry, fileOrDir), newOpts); | ||
}); | ||
@@ -86,0 +86,0 @@ this._onEntryFinish(); |
{ | ||
"name": "compressing", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Everything you need for compressing and uncompressing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
51206