Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 7bc9a59

Browse files
committed
normalize style for #19
1 parent f718c04 commit 7bc9a59

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var echo = function(name) {
1414
}
1515

1616
var normalize = !win32 ? echo : function(name) {
17-
return name.replace(/\\/g, '/').replace(/:/g, '_');
17+
return name.replace(/\\/g, '/').replace(/:/g, '_')
1818
}
1919

2020
var statAll = function(fs, stat, cwd, ignore, entries) {
@@ -202,8 +202,7 @@ exports.extract = function(cwd, opts) {
202202

203203
extract.on('entry', function(header, stream, next) {
204204
header = map(header) || header
205-
206-
header.name = normalize(header.name);
205+
header.name = normalize(header.name)
207206
var name = path.join(cwd, path.join('/', header.name))
208207

209208
if (ignore(name)) {

0 commit comments

Comments
 (0)