From b013d81c71696d9fddc69ae6cbb6ca7faaa5d29f Mon Sep 17 00:00:00 2001 From: Max Kless Date: Wed, 17 Apr 2024 11:57:16 +0200 Subject: [PATCH] fix(core): properly track plugin & file in create nodes result --- packages/nx/src/project-graph/plugins/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/project-graph/plugins/utils.ts b/packages/nx/src/project-graph/plugins/utils.ts index 62730b151d6e0..c9196682793ba 100644 --- a/packages/nx/src/project-graph/plugins/utils.ts +++ b/packages/nx/src/project-graph/plugins/utils.ts @@ -89,7 +89,7 @@ export async function runCreateNodesInParallel( // Existing behavior is to ignore null results of // createNodes function. if (r) { - results.push(r); + results.push({ ...r, file, pluginName: plugin.name }); } }); });