Skip to content

Commit 80f9283

Browse files
committed
chore: wip
1 parent 86ada66 commit 80f9283

File tree

1 file changed

+4
-4
lines changed
  • storage/framework/core/storage/src

1 file changed

+4
-4
lines changed

storage/framework/core/storage/src/zip.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export async function zip(from: string | string[], to?: string, options?: ZipOpt
1111
const fromPath = Array.isArray(from) ? from.join(' ') : from
1212

1313
console.log('zip 2', fromPath, toPath)
14-
if (Array.isArray(from))
15-
return runCommand(`zip -r ${toPath} ${fromPath}`, options)
14+
// if (Array.isArray(from))
15+
// return runCommand(`zip -r ${toPath} ${fromPath}`, options)
1616

17-
console.log('zip 3', fromPath, toPath)
18-
return runCommand(`zip -r ${to} ${from}`, options)
17+
// console.log('zip 3', fromPath, toPath)
18+
// return runCommand(`zip -r ${to} ${from}`, options)
1919
}
2020

2121
export async function unzip(paths: string | string[]) {

0 commit comments

Comments
 (0)