Fix options, exit on error, ci publish
Compare changes
Files
3+ 28
− 18
@@ -51,7 +51,9 @@ function collect(value, previous) {
@@ -51,7 +51,9 @@ function collect(value, previous) {
@@ -62,12 +64,12 @@ try {
@@ -62,12 +64,12 @@ try {
@@ -92,9 +94,9 @@ if (relativePath) {
@@ -92,9 +94,9 @@ if (relativePath) {
@@ -116,16 +118,16 @@ if (typeof input === "string") {
@@ -116,16 +118,16 @@ if (typeof input === "string") {
printerOptions.overrideDefaultBackgroundColor = { r: 0, g: 0, b: 0, a: 0 }; // Workaround to get a transparent background in the resulting PDF. See https://bugs.chromium.org/p/chromium/issues/detail?id=498892 for more information.
@@ -154,12 +156,20 @@ if (typeof input === "string") {
@@ -154,12 +156,20 @@ if (typeof input === "string") {