Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/nxPublic

Commit40da702

Browse files
authored
fix(linter): handle missing task graph in hasher on print-affected (#11974)
1 parent5c00b75 commit40da702

File tree

1 file changed

+3
-0
lines changed
  • packages/linter/src/executors/eslint

1 file changed

+3
-0
lines changed

‎packages/linter/src/executors/eslint/hasher.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ function allDeps(
5252
taskGraph:TaskGraph,
5353
projectGraph:ProjectGraph
5454
):string[]{
55+
if(!taskGraph.tasks){
56+
return[];
57+
}
5558
constproject=taskGraph.tasks[taskId].target.project;
5659
constdependencies=projectGraph.dependencies[project]
5760
.filter((d)=>!!projectGraph.nodes[d.target])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp