Browse Source

remove unnecessary code.

test-gpt-generated
Roman Axelrod 3 years ago
parent
commit
c42c9fecba
  1. 2
      server.js

2
server.js

@ -378,7 +378,7 @@ async function zipProject() {
archive.pipe(output); archive.pipe(output);
// append files from a subdirectory, putting its contents at the root of archive // 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) // 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 // 'close', 'end' or 'finish' may be fired right after calling this method so register to them beforehand

Loading…
Cancel
Save