Skip to content

Commit

Permalink
fix: add missing await to deleteAllFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Jul 28, 2023
1 parent a8db976 commit 5d01f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/lightning/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const wipeLdkStorage = async ({
if (item.isFile()) {
await RNFS.unlink(item.path);
} else {
deleteAllFiles(item.path);
await deleteAllFiles(item.path);
}
}
};
Expand Down

0 comments on commit 5d01f62

Please sign in to comment.