diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a60fe..d12b64c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,7 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | 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.5 | 2022-12-09 | `inetLatency()` fix for alpine (linux) | | 5.16.4 | 2022-12-09 | `processes()` fix started (linux alpine) | diff --git a/docs/history.html b/docs/history.html index f7ac971..c0255cd 100644 --- a/docs/history.html +++ b/docs/history.html @@ -59,7 +59,7 @@ 5.16.7 - 2022-12-21 + 2022-12-22 processes() commandLine missing spaces fix (windows) diff --git a/lib/printer.js b/lib/printer.js index fe0e9ff..44dbd13 100644 --- a/lib/printer.js +++ b/lib/printer.js @@ -190,7 +190,7 @@ function printer(callback) { for (let i = 0; i < parts.length; i++) { const printer = parseWindowsPrinters(parts[i].split('\n'), i); if (printer.name || printer.model) { - result.push(parseWindowsPrinters(parts[i].split('\n'), i)); + result.push(printer); } } }