remove unnecessary code.

This commit is contained in:
2022-11-23 23:59:13 +02:00
parent 6ebd37190a
commit c42c9fecba
+1 -1
View File
@@ -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