@@ -1086,7 +1086,7 @@ workspaces
1086
1086
var collection = AnalysisContextCollectionImpl (
1087
1087
resourceProvider: resourceProvider,
1088
1088
sdkPath: sdkRoot.path,
1089
- includedPaths: [pubWorkspace.workspaceRootPath],
1089
+ includedPaths: [getFolder ( pubWorkspace.workspaceRootPath).path ],
1090
1090
);
1091
1091
1092
1092
// We expect only 1 context.
@@ -1128,9 +1128,9 @@ workspaces
1128
1128
resourceProvider: resourceProvider,
1129
1129
sdkPath: sdkRoot.path,
1130
1130
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 ,
1134
1134
],
1135
1135
);
1136
1136
@@ -1198,7 +1198,10 @@ workspaces
1198
1198
var collection = AnalysisContextCollectionImpl (
1199
1199
resourceProvider: resourceProvider,
1200
1200
sdkPath: sdkRoot.path,
1201
- includedPaths: [pubWorkspace.package1, pubWorkspace.package2],
1201
+ includedPaths: [
1202
+ getFolder (pubWorkspace.package1).path,
1203
+ getFolder (pubWorkspace.package2).path,
1204
+ ],
1202
1205
);
1203
1206
1204
1207
// We expect only 1 context.
0 commit comments