Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanpas committed Apr 18, 2019
1 parent 622e6b8 commit 31763ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function deleteDirectory(dirPath: string): Promise<void> {
(await readdir(dirPath)).forEach(async (entry: string) => {
const entryPath = path.join(dirPath, entry);
if ((await lstat(entryPath)).isDirectory()) {
deleteDirectory(entryPath);
await deleteDirectory(entryPath);
} else {
await unlink(entryPath);
}
Expand Down

0 comments on commit 31763ee

Please sign in to comment.