Compare commits
2 Commits
docs/auto-
...
fix/contex
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9f7a636cc | ||
|
|
c24d313564 |
5
.changeset/rotten-months-brake.md
Normal file
5
.changeset/rotten-months-brake.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"task-master-ai": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix contextGatherer bug when adding a task `Cannot read properties of undefined (reading 'forEach')`
|
||||||
@@ -116,4 +116,4 @@
|
|||||||
"supertest": "^7.1.0",
|
"supertest": "^7.1.0",
|
||||||
"tsx": "^4.16.2"
|
"tsx": "^4.16.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ export class ContextGatherer {
|
|||||||
|
|
||||||
// Dependency Graph Analysis
|
// Dependency Graph Analysis
|
||||||
if (dependencyTasks.length > 0) {
|
if (dependencyTasks.length > 0) {
|
||||||
const dependencyResults = this._buildDependencyContext(dependencyTasks);
|
const dependencyResults = this._buildDependencyGraphs(dependencyTasks);
|
||||||
dependencyResults.allRelatedTaskIds.forEach((id) =>
|
dependencyResults.allRelatedTaskIds.forEach((id) =>
|
||||||
finalTaskIds.add(String(id))
|
finalTaskIds.add(String(id))
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user