Ugrade to Deno 2.0

This commit is contained in:
Alex Gleason
2024-09-22 17:35:04 -05:00
parent cccb3ad8d7
commit cd66234af7
6 changed files with 12 additions and 137 deletions

View File

@@ -31,7 +31,7 @@ try {
adminPubkey: Conf.pubkey,
});
console.debug(`Using custom policy: ${Conf.policy}`);
} catch (e) {
} catch (e: any) {
if (e.message.includes('Module not found')) {
console.debug('Custom policy not found <https://docs.soapbox.pub/ditto/policies/>');
} else {