mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: update eslint to respect typescript and run eslint fix
This commit is contained in:
1 parent
9125e4a5da
commit
1a7f800ba2
15 files changed
+325
-77
No files matched your search
@@ -10,7 +10,7 @@ exports.getUptimeFormatted = async ({ executionId }) => {
|
||||
let uptimeFormattedString = '';
|
||||
|
||||
const uptimeInSeconds = process.uptime();
|
||||
let uptimeDate = new Date(0);
|
||||
const uptimeDate = new Date(0);
|
||||
uptimeDate.setSeconds(uptimeInSeconds.toFixed(0));
|
||||
uptimeFormattedString = `${
|
||||
uptimeDate.getUTCDate() - 1
|
||||
|
||||
Reference in new issue
Block a user