Skip to content

Commit 58277a5

Browse files
committed
chore: wip
This reverts commit 15a50e4. chore: wip
1 parent 61b1c77 commit 58277a5

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

config/docs.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ const nav = [
1515
{ text: 'Changelog', link: 'https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md' },
1616
{
1717
items: [
18-
{
19-
text: 'Twitter',
20-
link: 'https://twitter.com/stacksjs',
21-
},
22-
{
23-
text: 'Discord Chat',
24-
link: 'https://discord.gg/stacksjs',
25-
},
2618
{
2719
text: 'Awesome Stacks',
2820
link: 'https://github.com/stacksjs/awesome-stacks',

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@ export async function zip(from: string | string[], to?: string, options?: ZipOpt
99
const toPath = to || 'archive.zip'
1010
const fromPath = Array.isArray(from) ? from.join(' ') : from
1111

12-
// eslint-disable-next-line no-console
13-
console.log('zip', fromPath, toPath, options)
12+
if (Array.isArray(from))
13+
return runCommand(`zip -r ${toPath} ${fromPath}`, options)
1414

15-
// if (Array.isArray(from))
16-
// return runCommand(`zip -r ${toPath} ${fromPath}`, options)
17-
18-
// return runCommand(`zip -r ${to} ${from}`, options)
15+
return runCommand(`zip -r ${to} ${from}`, options)
1916
}
2017

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

0 commit comments

Comments
 (0)