File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -590,9 +590,7 @@ class Driver implements CommandLineStarter {
590
590
//TODO: ideally share this traversal with SdkExtUriResolver
591
591
for (Iterable <fileSystem.Folder > libDirs in folders) {
592
592
if (libDirs.any ((fileSystem.Folder libDir) =>
593
- libDir
594
- .getChild (SdkExtUriResolver .SDK_EXT_NAME )
595
- .exists)) {
593
+ libDir.getChild (SdkExtUriResolver .SDK_EXT_NAME ).exists)) {
596
594
return true ;
597
595
}
598
596
}
@@ -638,8 +636,8 @@ class Driver implements CommandLineStarter {
638
636
options.dartSdkSummaryPath, options.strongMode);
639
637
} else {
640
638
String dartSdkPath = options.dartSdkPath;
641
- DirectoryBasedDartSdk directorySdk =
642
- new DirectoryBasedDartSdk ( new JavaFile (dartSdkPath));
639
+ DirectoryBasedDartSdk directorySdk = new DirectoryBasedDartSdk (
640
+ new JavaFile (dartSdkPath), options.strongMode );
643
641
directorySdk.useSummary = useSummaries &&
644
642
options.sourceFiles.every ((String sourcePath) {
645
643
sourcePath = path.absolute (sourcePath);
You can’t perform that action at this time.
0 commit comments