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 {
}
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('')));
......
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