@@ -1086,7 +1086,7 @@ workspaces
10861086 var collection = AnalysisContextCollectionImpl (
10871087 resourceProvider: resourceProvider,
10881088 sdkPath: sdkRoot.path,
1089- includedPaths: [pubWorkspace.workspaceRootPath],
1089+ includedPaths: [getFolder ( pubWorkspace.workspaceRootPath).path ],
10901090 );
10911091
10921092 // We expect only 1 context.
@@ -1128,9 +1128,9 @@ workspaces
11281128 resourceProvider: resourceProvider,
11291129 sdkPath: sdkRoot.path,
11301130 includedPaths: [
1131- pubWorkspace.package1,
1132- pubWorkspace.workspaceRootPath,
1133- pubWorkspace.package2,
1131+ getFolder ( pubWorkspace.package1).path ,
1132+ getFolder ( pubWorkspace.workspaceRootPath).path ,
1133+ getFolder ( pubWorkspace.package2).path ,
11341134 ],
11351135 );
11361136
@@ -1198,7 +1198,10 @@ workspaces
11981198 var collection = AnalysisContextCollectionImpl (
11991199 resourceProvider: resourceProvider,
12001200 sdkPath: sdkRoot.path,
1201- includedPaths: [pubWorkspace.package1, pubWorkspace.package2],
1201+ includedPaths: [
1202+ getFolder (pubWorkspace.package1).path,
1203+ getFolder (pubWorkspace.package2).path,
1204+ ],
12021205 );
12031206
12041207 // We expect only 1 context.
0 commit comments