Skip to content

Commit

Permalink
dsds
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed May 21, 2018
1 parent 3b4c47c commit 6afa4bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.js
Expand Up @@ -2,7 +2,6 @@

const {createServer} = require('http');
const {createGzip} = require('zlib');
const {normalize} = require('path');

const clearAllModules = require('clear-module').all;
const {pack} = require('tar-stream');
Expand Down Expand Up @@ -162,7 +161,7 @@ const server = createServer((req, res) => {
dlTar('http://localhost:3018/', 'tmp/b', {
strip: 0,
filter(file) {
return file !== normalize('dir/1.txt');
return file !== 'dir/1.txt';
}
}).subscribe({
error: t.fail,
Expand Down

0 comments on commit 6afa4bc

Please sign in to comment.