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
+1 -1
View File
@@ -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);
}
}
}