We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a502b4b commit df7f037Copy full SHA for df7f037
src/util.ts
@@ -40,11 +40,7 @@ export type ZipOptions = {
40
* @param opts Options with which to invoke the zip.
41
* @returns filepath of the created zip file.
42
*/
43
-export function zipDir(
44
- dirPath: string,
45
- outputPath: string,
46
- opts?: ZipOptions,
47
-): Promise<string> {
+export function zipDir(dirPath: string, outputPath: string, opts?: ZipOptions): Promise<string> {
48
// Check dirpath
49
if (!fs.existsSync(dirPath)) {
50
throw new Error(`Unable to find ${dirPath}`);
0 commit comments