Skip to content

Commit

Permalink
fix(api-page-builder): use fs.remove when deleting files and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Jul 4, 2024
1 parent 3338926 commit e741f10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function extractZip(zipPath: string, dir: string): Promise<void> {
}

export function deleteFile(path: string): Promise<void> {
return fs.unlink(path);
return fs.remove(path);
}

const INSTALL_DIR = "/tmp";
Expand Down

0 comments on commit e741f10

Please sign in to comment.