@nx/gradle 19.7.0-canary.20240820-0853690 → 19.7.0-canary.20240822-d6a0cfb

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/gradle",
3
- "version": "19.7.0-canary.20240820-0853690",
3
+ "version": "19.7.0-canary.20240822-d6a0cfb",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Gradle allows Gradle tasks to be run through Nx",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "migrations": "./migrations.json"
35
35
  },
36
36
  "dependencies": {
37
- "@nx/devkit": "19.7.0-canary.20240820-0853690"
37
+ "@nx/devkit": "19.7.0-canary.20240822-d6a0cfb"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -172,7 +172,9 @@ function processProjectReports(projectReportLines) {
172
172
  if (tasksFileLines[i + 1] === dashes) {
173
173
  const type = line.substring(0, line.length - ' tasks'.length);
174
174
  i++;
175
- while (tasksFileLines[++i] !== '') {
175
+ while (tasksFileLines[++i] !== '' &&
176
+ i < tasksFileLines.length &&
177
+ tasksFileLines[i]?.includes(' - ')) {
176
178
  const [taskName] = tasksFileLines[i].split(' - ');
177
179
  taskTypeMap.set(taskName, type);
178
180
  }