mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
fix: Formatting to new eslint rules
This commit is contained in:
1 parent
a4d5ab5ae4
commit
bcc4f8ffac
1 file changed
+8
-8
@@ -60,14 +60,14 @@ module.exports = {
|
||||
let durationArray = durationInput.split(':');
|
||||
|
||||
switch (durationArray.length) {
|
||||
case 1:
|
||||
durationArray.unshift('00', '00');
|
||||
break;
|
||||
case 2:
|
||||
durationArray.unshift('00');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
case 1:
|
||||
durationArray.unshift('00', '00');
|
||||
break;
|
||||
case 2:
|
||||
durationArray.unshift('00');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (durationArray.length === 0 || durationArray.length > 3) {
|
||||
|
||||
Reference in new issue
Block a user