code cleanup, removing debug console.log()
This commit is contained in:
parent
b3eb2a52ce
commit
9ea2813e2a
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| 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.28.0 | 2020-11-04 | `graphics()` added deviceName (windows) |
|
||||||
| 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection |
|
| 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection |
|
||||||
| 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue |
|
| 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue |
|
||||||
|
|||||||
@ -83,6 +83,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">4.28.1</th>
|
||||||
|
<td>2020-11-05</td>
|
||||||
|
<td>code cleanup, removing debug console.log()</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">4.28.0</th>
|
<th scope="row">4.28.0</th>
|
||||||
<td>2020-11-04</td>
|
<td>2020-11-04</td>
|
||||||
|
|||||||
@ -168,7 +168,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span></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>
|
<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>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -43,7 +43,6 @@ function fsSize(callback) {
|
|||||||
lines.forEach(function (line) {
|
lines.forEach(function (line) {
|
||||||
if (line !== '') {
|
if (line !== '') {
|
||||||
line = line.replace(/ +/g, ' ').split(' ');
|
line = line.replace(/ +/g, ' ').split(' ');
|
||||||
console.log(line);
|
|
||||||
if (line && ((line[0].startsWith('/')) || (line[6] && line[6] === '/') || (line[0].indexOf('/') > 0))) {
|
if (line && ((line[0].startsWith('/')) || (line[6] && line[6] === '/') || (line[0].indexOf('/') > 0))) {
|
||||||
const fs = line[0];
|
const fs = line[0];
|
||||||
const fstype = ((_linux || _freebsd || _openbsd || _netbsd) ? line[1] : (line[0].startsWith('/')) ? 'HFS' : 'NFS');
|
const fstype = ((_linux || _freebsd || _openbsd || _netbsd) ? line[1] : (line[0].startsWith('/')) ? 'HFS' : 'NFS');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user