Skip to content

Commit

Permalink
fix: Don't overwrite existing folders (#284)
Browse files Browse the repository at this point in the history
Don't overwrite existing folders
  • Loading branch information
felixrieseberg authored Sep 26, 2023
1 parent dd5de4c commit bd8e23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filesystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Filesystem {
if (shouldUnpack) {
node.unpacked = shouldUnpack
}
node.files = {}
node.files = node.files || {}
return node.files
}

Expand Down

0 comments on commit bd8e23f

Please sign in to comment.