mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix build
This commit is contained in:
7 files changed
+8
-6
No files matched your search
@@ -6,7 +6,7 @@
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config": "^5.3.0",
|
||||
"@eslint-react/eslint-plugin": "^1.53.0",
|
||||
"@eslint-react/eslint-plugin": "^1.53.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
||||
"@typescript-eslint/parser": "^8.43.0",
|
||||
"eslint-plugin-de-morgan": "^1.3.1",
|
||||
|
||||
@@ -354,7 +354,7 @@ export async function extractZip<T>(zipOrEntries: ZipReader<T> | Entry[], dest:
|
||||
for (const entry of entries) {
|
||||
const name = shouldStrip ? entry.filename.substring(entries[0].filename.length) : entry.filename;
|
||||
const d = sanitize(dest, canonical(name));
|
||||
if (entry.directory) {
|
||||
if (entry.directory === true) {
|
||||
await fs.mkdir(d, { recursive: true });
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user