mirror of
https://github.com/EndPwnArchive/bspwn-scraper.git
synced 2024-08-15 00:03:26 +00:00
what am i doing
This commit is contained in:
parent
93d5111d0f
commit
c4e6014b43
1 changed files with 2 additions and 2 deletions
|
@ -51,12 +51,12 @@ function patch(target, resolve) {
|
|||
console.log('zipping it all up...');
|
||||
var archive = archiver('zip');
|
||||
|
||||
var output = fs.createWriteStream(config.target || './' + target + '.zip');
|
||||
var output = fs.createWriteStream((config.target || './') + target + '.zip');
|
||||
|
||||
archive.pipe(output);
|
||||
archive.directory(path, 'core');
|
||||
archive.file(__dirname + '/files/index.js', { name: 'index.js' });
|
||||
archive.file(config.target + '/package.json', { name: 'package.json' });
|
||||
archive.file(target + '/package.json', { name: 'package.json' });
|
||||
archive.finalize();
|
||||
|
||||
//output.close(resolve);
|
||||
|
|
Loading…
Reference in a new issue