Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 8b21be3

Browse files
committed
Fix minor linting issues
1 parent 77cb0d1 commit 8b21be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/classes/sysinfo.class.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Sysinfo {
7676
case 11:
7777
month = "DEC";
7878
break;
79-
};
79+
}
8080
document.querySelector("#mod_sysinfo > div:first-child > h2").innerHTML = month+" "+time.getDate();
8181

8282
let timeToNewDay = ((23 - time.getHours()) * 3600000) + ((59 - time.getMinutes()) * 60000);
@@ -105,7 +105,7 @@ class Sysinfo {
105105
}
106106
updateBattery() {
107107
let btrlvl = require("battery-level");
108-
btrlvl().then(level => {
108+
btrlvl().then((level) => {
109109
document.querySelector("#mod_sysinfo > div:last-child > h2").innerHTML = (level*100)+"%";
110110
});
111111
}

0 commit comments

Comments
 (0)