turbo-ignore 0.0.32 → 0.0.35
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/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5327,12 +5327,14 @@ exec(
|
|
|
5327
5327
|
|
|
5328
5328
|
try {
|
|
5329
5329
|
const parsed = JSON.parse(stdout);
|
|
5330
|
-
if (
|
|
5330
|
+
if (parsed == null) {
|
|
5331
5331
|
console.error(`≫ Failed to parse JSON output from \`${command}\`.`);
|
|
5332
5332
|
console.error(`≫ Proceeding with build to be safe...`);
|
|
5333
|
+
process.exit(1);
|
|
5333
5334
|
}
|
|
5335
|
+
console.log(stdout);
|
|
5334
5336
|
const { packages } = parsed;
|
|
5335
|
-
if (packages.length > 0) {
|
|
5337
|
+
if (packages && packages.length > 0) {
|
|
5336
5338
|
console.log(
|
|
5337
5339
|
`≫ The commit affects this project and/or its ${
|
|
5338
5340
|
packages.length - 1
|