fix(core): normalize project config paths to properly match them when combining them (#15149)
This commit is contained in:
parent
580459bccb
commit
3b056e51f5
@ -180,7 +180,9 @@ function readAndCombineAllProjectConfigurations(tree: Tree): {
|
|||||||
} {
|
} {
|
||||||
const nxJson = readNxJson(tree);
|
const nxJson = readNxJson(tree);
|
||||||
|
|
||||||
const globbedFiles = globForProjectFiles(tree.root, nxJson);
|
const globbedFiles = globForProjectFiles(tree.root, nxJson).map(
|
||||||
|
normalizePath
|
||||||
|
);
|
||||||
const createdFiles = findCreatedProjectFiles(tree);
|
const createdFiles = findCreatedProjectFiles(tree);
|
||||||
const deletedFiles = findDeletedProjectFiles(tree);
|
const deletedFiles = findDeletedProjectFiles(tree);
|
||||||
const projectFiles = [...globbedFiles, ...createdFiles].filter(
|
const projectFiles = [...globbedFiles, ...createdFiles].filter(
|
||||||
@ -218,7 +220,7 @@ function findCreatedProjectFiles(tree: Tree) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return deduplicateProjectFiles(createdProjectFiles);
|
return deduplicateProjectFiles(createdProjectFiles).map(normalizePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user