fix: Formatting to new eslint rules

This commit is contained in:
Marius Begby committed 2023-07-17 11:55:08 +02:00
1 parent a4d5ab5ae4
commit bcc4f8ffac
1 file changed
+8 -8
+8 -8
View File
@@ -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) {