mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +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(':');
|
let durationArray = durationInput.split(':');
|
||||||
|
|
||||||
switch (durationArray.length) {
|
switch (durationArray.length) {
|
||||||
case 1:
|
case 1:
|
||||||
durationArray.unshift('00', '00');
|
durationArray.unshift('00', '00');
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
durationArray.unshift('00');
|
durationArray.unshift('00');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (durationArray.length === 0 || durationArray.length > 3) {
|
if (durationArray.length === 0 || durationArray.length > 3) {
|
||||||
|
|||||||
Reference in new issue
Block a user