Skip to content

Commit

Permalink
Add comment explaining why files are being listed
Browse files Browse the repository at this point in the history
UIP-1638
  • Loading branch information
jacehensley-wf committed Jun 20, 2017
1 parent 9966046 commit fee581d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/strong_mode_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const String strongModeProject = 'test_fixtures/strong_mode';

/// Runs the dart analzyer task for the given project.
Future<ProcessResult> analyzeProject(String projectPath) async {
// Won't work unless all files are listed, for some reason.
var files = <String>[]
..addAll(new Directory(projectPath).listSync()
.where((e) => FileSystemEntity.isFileSync(e.path) && e.path.endsWith('.dart'))
Expand Down

0 comments on commit fee581d

Please sign in to comment.