File tree Expand file tree Collapse file tree 3 files changed +284
-218
lines changed
Expand file tree Collapse file tree 3 files changed +284
-218
lines changed Original file line number Diff line number Diff line change 103103 "vitest" : " ^3.0.5" ,
104104 "vscode-uri" : " ^3.1.0" ,
105105 "xvfb-maybe" : " ^0.2.1" ,
106- "zip-local " : " ^0.3.5 " ,
107- "js-yaml " : " ^4.1.1 "
106+ "js-yaml " : " ^4.1.1 " ,
107+ "zip-a-folder " : " ^4.0.4 "
108108 }
109109}
Original file line number Diff line number Diff line change 1717 * SPDX-License-Identifier: Apache-2.0
1818 ***********************************************************************/
1919
20- const zipper = require ( 'zip-local ' ) ;
20+ const { zip } = require ( 'zip-a-folder ' ) ;
2121const path = require ( 'path' ) ;
2222const packageJson = require ( '../package.json' ) ;
2323const { mkdirp } = require ( 'mkdirp' ) ;
@@ -58,6 +58,6 @@ byline(fileStream)
5858 throw new Error ( 'Error copying files' , error ) ;
5959 }
6060 console . log ( `Zipping files to ${ destFile } ` ) ;
61- zipper . sync . zip ( zipDirectory ) . compress ( ) . save ( destFile ) ;
61+ zip ( zipDirectory , destFile ) ;
6262 } ) ;
6363 } ) ;
You can’t perform that action at this time.
0 commit comments