@bagelink/blox 1.13.1 → 1.13.2
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.
- package/dist/ssg/cli.cjs +3 -1
- package/dist/ssg/cli.mjs +3 -1
- package/package.json +1 -1
package/dist/ssg/cli.cjs
CHANGED
|
@@ -123,7 +123,9 @@ ${"=".repeat(60)}`);
|
|
|
123
123
|
if (result.failures.length > 10) {
|
|
124
124
|
console.log(` ... and ${result.failures.length - 10} more`);
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
if (result.rendered.length === 0) {
|
|
127
|
+
process.exitCode = 1;
|
|
128
|
+
}
|
|
127
129
|
}
|
|
128
130
|
} catch (err) {
|
|
129
131
|
console.error("Fatal error:", err);
|
package/dist/ssg/cli.mjs
CHANGED
|
@@ -122,7 +122,9 @@ ${"=".repeat(60)}`);
|
|
|
122
122
|
if (result.failures.length > 10) {
|
|
123
123
|
console.log(` ... and ${result.failures.length - 10} more`);
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
if (result.rendered.length === 0) {
|
|
126
|
+
process.exitCode = 1;
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
} catch (err) {
|
|
128
130
|
console.error("Fatal error:", err);
|
package/package.json
CHANGED