Skip to content

Commit ac4c6cc

Browse files
committed
chore: wip
1 parent 65dd930 commit ac4c6cc

File tree

1 file changed

+3
-0
lines changed
  • storage/framework/core/storage/src

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ interface ZipOptions {
66
}
77

88
export async function zip(from: string | string[], to?: string, options?: ZipOptions) {
9+
console.log('zip 1', from, to, options)
910
const toPath = to || 'archive.zip'
1011
const fromPath = Array.isArray(from) ? from.join(' ') : from
1112

13+
console.log('zip 2', fromPath, toPath)
1214
if (Array.isArray(from))
1315
return runCommand(`zip -r ${toPath} ${fromPath}`, options)
1416

17+
console.log('zip 3', fromPath, toPath)
1518
return runCommand(`zip -r ${to} ${from}`, options)
1619
}
1720

0 commit comments

Comments
 (0)