Fix style issues introduced by dba29aa0fc (#11203)

This commit is contained in:
Siva Chandra
2017-07-14 13:51:16 -07:00
committed by GitHub
parent 535a364c2a
commit 28d09d1614

View File

@@ -45,13 +45,12 @@ class DartDependencySetBuilder {
final Uri currentUri = toProcess.removeLast();
final analyzer.CompilationUnit unit = _parse(currentUri.toFilePath());
for (analyzer.Directive directive in unit.directives) {
if (!(directive is analyzer.UriBasedDirective)) {
if (!(directive is analyzer.UriBasedDirective))
continue;
}
String uriAsString;
if (directive is analyzer.NamespaceDirective) {
final analyzer.NamespaceDirective namespaceDirective = directive;
final analyzer.NamespaceDirective namespaceDirective = directive;
// If the directive is a conditional import directive, we should
// select the imported uri based on the condition.
for (analyzer.Configuration configuration in namespaceDirective.configurations) {