what am i doing

This commit is contained in:
Astra 2018-05-26 18:54:57 -04:00
parent 93d5111d0f
commit c4e6014b43
1 changed files with 2 additions and 2 deletions

View File

@ -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);