Skip to content
Snippets Groups Projects
Unverified Commit 0b9c9617 authored by Johann150's avatar Johann150
Browse files

fix lint no-fallthrough

parent f14d5886
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment