code cleanup

This commit is contained in:
Sebastian Hildebrandt 2022-12-22 10:22:10 +01:00
parent 5e79107f90
commit 39f44ef64d
3 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.16.7 | 2022-12-21 | `processes()` commandLine missing spaces fix (windows) | | 5.16.7 | 2022-12-22 | `processes()` commandLine missing spaces fix (windows) |
| 5.16.6 | 2022-12-12 | `processes()` time format fix (linux) | | 5.16.6 | 2022-12-12 | `processes()` time format fix (linux) |
| 5.16.5 | 2022-12-09 | `inetLatency()` fix for alpine (linux) | | 5.16.5 | 2022-12-09 | `inetLatency()` fix for alpine (linux) |
| 5.16.4 | 2022-12-09 | `processes()` fix started (linux alpine) | | 5.16.4 | 2022-12-09 | `processes()` fix started (linux alpine) |

View File

@ -59,7 +59,7 @@
<tbody> <tbody>
<tr> <tr>
<th scope="row">5.16.7</th> <th scope="row">5.16.7</th>
<td>2022-12-21</td> <td>2022-12-22</td>
<td><span class="code">processes()</span> commandLine missing spaces fix (windows)</td> <td><span class="code">processes()</span> commandLine missing spaces fix (windows)</td>
</tr> </tr>
<tr> <tr>

View File

@ -190,7 +190,7 @@ function printer(callback) {
for (let i = 0; i < parts.length; i++) { for (let i = 0; i < parts.length; i++) {
const printer = parseWindowsPrinters(parts[i].split('\n'), i); const printer = parseWindowsPrinters(parts[i].split('\n'), i);
if (printer.name || printer.model) { if (printer.name || printer.model) {
result.push(parseWindowsPrinters(parts[i].split('\n'), i)); result.push(printer);
} }
} }
} }