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.
Files changed (2) hide show
  1. package/index.js +4 -2
  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 (!parsed) {
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbo-ignore",
3
- "version": "0.0.32",
3
+ "version": "0.0.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": "index.js",