Bump Dart SDK to latest (1.21.0-dev.2.0). (#6541)
This commit is contained in:
@@ -1 +1 @@
|
||||
1.21.0-dev.0.0
|
||||
1.21.0-dev.2.0
|
||||
|
||||
@@ -121,8 +121,10 @@ class AnalysisDriver {
|
||||
}
|
||||
|
||||
if (options.packageRootPath != null) {
|
||||
ContextBuilder builder = new ContextBuilder(resourceProvider, null, null);
|
||||
builder.defaultPackagesDirectoryPath = options.packageRootPath;
|
||||
ContextBuilderOptions builderOptions = new ContextBuilderOptions();
|
||||
builderOptions.defaultPackagesDirectoryPath = options.packageRootPath;
|
||||
ContextBuilder builder = new ContextBuilder(resourceProvider, null, null,
|
||||
options: builderOptions);
|
||||
PackageMapUriResolver packageUriResolver = new PackageMapUriResolver(resourceProvider,
|
||||
builder.convertPackagesToMap(builder.createPackageMap('')));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user