updated batteries code cleanup after merge pull
This commit is contained in:
parent
3523eaad6d
commit
fdf55c6c37
@ -64,6 +64,7 @@
|
||||
<li>Miłosz Dźwigała <a href="https://github.com/mily20001" rel="nofollow">mily20001</a></li>
|
||||
<li>cconley717 <a href="https://github.com/cconley717" rel="nofollow">cconley717</a></li>
|
||||
<li>Maria Camila Cubides <a href="https://github.com/MariaCamilaCubides" rel="nofollow">MariaCamilaCubides</a></li>
|
||||
<li>Aleksander Krasnicki <a href="https://github.com/plakak" rel="nofollow">plakak</a></li>
|
||||
</ul>
|
||||
<p>OSX Temperature: credits here are going to:</p>
|
||||
<ul>
|
||||
@ -121,4 +122,4 @@
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@ -231,7 +231,7 @@ module.exports = function (callback) {
|
||||
}
|
||||
let designCapacities = data.results[1].split('\r\n');
|
||||
let fullChargeCapacities = data.results[2].split('\r\n');
|
||||
if (batteries && batteries.length) {
|
||||
if (batteries.length) {
|
||||
let first = false;
|
||||
let additionalBatteries = [];
|
||||
for (let i = 0; i < batteries.length; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user