From bc05f1714d653d1dd8fbd5461c78d5889e6c4fc4 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Fri, 14 Jun 2024 18:59:25 +0200 Subject: [PATCH] Fix windows OS compatibility issue --- src/bin/tools/extractArchive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }