We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c006da8 commit 9071faaCopy full SHA for 9071faa
src/schematics/update/v7/index.ts
@@ -50,7 +50,10 @@ export const ngUpdate = (): Rule => (
50
throw new SchematicsException('Could not locate angular.json');
51
}
52
53
- const srcRoots: string[] = Object.values(angularJson.projects).map((it: any) => join('/', it.sourceRoot));
+ // TODO investigate if this is correct in Windows
54
+ const srcRoots: string[] = Object.values(angularJson.projects).map((it: any) =>
55
+ join(...['/', it.root, it.sourceRoot].filter(it => !!it))
56
+ );
57
58
host.visit(filePath => {
59
if (
0 commit comments