diff --git a/src/bin/tools/extractArchive.ts b/src/bin/tools/extractArchive.ts index 6a4387bd..d966ec6c 100644 --- a/src/bin/tools/extractArchive.ts +++ b/src/bin/tools/extractArchive.ts @@ -109,7 +109,7 @@ export async function extractArchive(params: { zipFile.on("entry", async (entry: yauzl.Entry) => { handle_file: { // NOTE: Skip directories - if (entry.fileName.endsWith(pathSep)) { + if (entry.fileName.endsWith("/")) { break handle_file; }