remove unnecessary code.
This commit is contained in:
@@ -378,7 +378,7 @@ async function zipProject() {
|
||||
archive.pipe(output);
|
||||
|
||||
// append files from a subdirectory, putting its contents at the root of archive
|
||||
archive.directory(path.join(projectPath, 'src', '/'), false);
|
||||
archive.directory(path.join(projectPath, 'src'), false);
|
||||
|
||||
// finalize the archive (ie we are done appending files but streams have to finish yet)
|
||||
// 'close', 'end' or 'finish' may be fired right after calling this method so register to them beforehand
|
||||
|
||||
Reference in New Issue
Block a user