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

This commit is contained in:
Phil Quitslund
2016-10-28 17:56:55 +02:00
committed by GitHub
parent ab939ec61f
commit 639ba0ddcb
2 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
1.21.0-dev.0.0
1.21.0-dev.2.0

View File

@@ -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('')));