enhanced-printer 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,7 +170,7 @@ function executePowerShell(script) {
170
170
  errorOutput += data.toString();
171
171
  });
172
172
  ps.on('close', (code) => {
173
- if (code === 0 && output.trim()) {
173
+ if (code === 0) {
174
174
  resolve(output.trim());
175
175
  }
176
176
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enhanced-printer",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Advanced PDF printing library with job tracking, custom page sizes, and tray selection for Node.js and Electron",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",