remove the packages/flutter_tools/.analysis_options file (#3733)

This commit is contained in:
Devon Carew
2016-05-04 11:43:01 -07:00
parent 07b5f83e55
commit e464a81998
4 changed files with 9 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ import 'package:path/path.dart' as path;
/// This script expects to run with the cwd as the root of the flutter repo. It
/// will generate documentation for the packages in `//packages/` and write the
/// documentation to `//dev/docs/doc/api/`.
main(List<String> args) async {
Future<Null> main(List<String> args) async {
// If we're run from the `tools` dir, set the cwd to the repo root.
if (path.basename(Directory.current.path) == 'tools')
Directory.current = Directory.current.parent.parent;
@@ -104,7 +104,7 @@ List<Directory> _findPackages() {
.toList();
}
List<String> _libraryRefs() sync* {
Iterable<String> _libraryRefs() sync* {
for (Directory dir in _findPackages()) {
String dirName = path.basename(dir.path);

View File

@@ -155,6 +155,7 @@ class SourceStats {
int files = 0;
int lines = 0;
@override
String toString() => '${_comma(files)} files, ${_comma(lines)} lines';
}