code cleanup, removing debug console.log()

This commit is contained in:
Sebastian Hildebrandt 2020-11-05 08:20:29 +01:00
parent b3eb2a52ce
commit 9ea2813e2a
4 changed files with 7 additions and 2 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.28.1 | 2020-11-05 | code cleanup, removing debug console.log() |
| 4.28.0 | 2020-11-04 | `graphics()` added deviceName (windows) |
| 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection |
| 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue |

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.28.1</th>
<td>2020-11-05</td>
<td>code cleanup, removing debug console.log()</td>
</tr>
<tr>
<th scope="row">4.28.0</th>
<td>2020-11-04</td>

View File

@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.28.0</span></div>
<div class="version">Current Version: <span id="version">4.28.1</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -43,7 +43,6 @@ function fsSize(callback) {
lines.forEach(function (line) {
if (line !== '') {
line = line.replace(/ +/g, ' ').split(' ');
console.log(line);
if (line && ((line[0].startsWith('/')) || (line[6] && line[6] === '/') || (line[0].indexOf('/') > 0))) {
const fs = line[0];
const fstype = ((_linux || _freebsd || _openbsd || _netbsd) ? line[1] : (line[0].startsWith('/')) ? 'HFS' : 'NFS');