fix: added missing error handling for fs.exists

This commit is contained in:
ThinLiquid 2024-01-18 11:41:33 +00:00
parent bf23629905
commit 77c0d57770
No known key found for this signature in database
GPG key ID: 17538DC3DF6A7387

View file

@ -93,7 +93,7 @@ const Store: Process = {
) )
// @ts-expect-error // @ts-expect-error
.appendTo(repoDiv) .appendTo(repoDiv)
}) }).catch(e => console.error(e))
}) })
}) })
.catch(e => console.error(e)) .catch(e => console.error(e))
@ -186,7 +186,7 @@ const Store: Process = {
) )
) )
.appendTo(repoDiv) .appendTo(repoDiv)
}) }).catch(e => console.error(e))
}) })
}) })
.catch(e => console.error(e)) .catch(e => console.error(e))