diff --git a/src/seshat.ts b/src/seshat.ts index 63fb6dc..fcdd1d7 100644 --- a/src/seshat.ts +++ b/src/seshat.ts @@ -62,7 +62,9 @@ async function getOrCreatePassphrase(key: string): Promise { const deleteContents = async (p: string): Promise => { for (const entry of await afs.readdir(p)) { const curPath = path.join(p, entry); - await afs.unlink(curPath); + try { + await afs.unlink(curPath); + } catch (e) {} } };