mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 00:03:51 +09:00
fix lint no-fallthrough
This commit is contained in:
@ -116,8 +116,11 @@ function get() {
|
||||
let base = parseInt(after.value);
|
||||
switch (unit.value) {
|
||||
case 'day': base *= 24;
|
||||
// fallthrough
|
||||
case 'hour': base *= 60;
|
||||
// fallthrough
|
||||
case 'minute': base *= 60;
|
||||
// fallthrough
|
||||
case 'second': return base *= 1000;
|
||||
default: return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user