From bd8e23f1b61d68ec831f6569a597ade31bfd501e Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Mon, 25 Sep 2023 22:58:07 -0700 Subject: [PATCH] fix: Don't overwrite existing folders (#284) Don't overwrite existing folders --- lib/filesystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filesystem.js b/lib/filesystem.js index 7283dcf..908b0dd 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -51,7 +51,7 @@ class Filesystem { if (shouldUnpack) { node.unpacked = shouldUnpack } - node.files = {} + node.files = node.files || {} return node.files }