Commit 28d09d16 authored by Siva Chandra's avatar Siva Chandra Committed by GitHub

Fix style issues introduced by dba29aa0 (#11203)

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