Commit 639ba0dd authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

Bump Dart SDK to latest (`1.21.0-dev.2.0`). (#6541)

parent ab939ec6
...@@ -121,8 +121,10 @@ class AnalysisDriver { ...@@ -121,8 +121,10 @@ class AnalysisDriver {
} }
if (options.packageRootPath != null) { if (options.packageRootPath != null) {
ContextBuilder builder = new ContextBuilder(resourceProvider, null, null); ContextBuilderOptions builderOptions = new ContextBuilderOptions();
builder.defaultPackagesDirectoryPath = options.packageRootPath; builderOptions.defaultPackagesDirectoryPath = options.packageRootPath;
ContextBuilder builder = new ContextBuilder(resourceProvider, null, null,
options: builderOptions);
PackageMapUriResolver packageUriResolver = new PackageMapUriResolver(resourceProvider, PackageMapUriResolver packageUriResolver = new PackageMapUriResolver(resourceProvider,
builder.convertPackagesToMap(builder.createPackageMap(''))); builder.convertPackagesToMap(builder.createPackageMap('')));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment