Skip to content

Commit

Permalink
fix(file): empty dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca committed Apr 6, 2023
1 parent 9a8b5fe commit 896c79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unzip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function unzip(crxFilePath: string, destination: string) {
const directory = (isFile && path.dirname(fullPath)) || fullPath;
const content = await files[filename].async("nodebuffer");

await jetpack.dirAsync(directory, { empty: true });
await jetpack.dirAsync(directory);
if (isFile) {
await jetpack.writeAsync(fullPath, content);
}
Expand Down

0 comments on commit 896c79e

Please sign in to comment.