Refactor key generation logic and update path resolving

This commit is contained in:
Aaro Varis
2024-09-23 12:07:36 +03:00
parent 95ada97b2f
commit 6716bff8b3
2 changed files with 3 additions and 2 deletions

View File

@@ -158,8 +158,9 @@ async function main() {
if (customCommands) {
try {
customCommands = JSON.parse(customCommands)
} catch {
} catch (err) {
console.error("couln't parse commands from .env")
console.log(err.message)
customCommands = undefined;
}
}