More documentation. (#10653)
This commit is contained in:
@@ -90,7 +90,7 @@ Future<Null> main() async {
|
||||
block.add(line.substring(3));
|
||||
}
|
||||
} else if (inSampleSection) {
|
||||
if (!trimmedLine.startsWith(kDartDocPrefix) || trimmedLine.startsWith('/// ##')) {
|
||||
if (!trimmedLine.startsWith(kDartDocPrefix) || trimmedLine.startsWith('/// ## ')) {
|
||||
if (inDart)
|
||||
throw '${file.path}:$lineNumber: Dart section inexplicably unterminated.';
|
||||
if (!foundDart)
|
||||
@@ -160,6 +160,8 @@ dependencies:
|
||||
);
|
||||
stderr.addStream(process.stderr);
|
||||
final List<String> errors = await process.stdout.transform<String>(UTF8.decoder).transform<String>(const LineSplitter()).toList();
|
||||
if (errors.first == 'Building flutter tool...')
|
||||
errors.removeAt(0);
|
||||
if (errors.first.startsWith('Running "flutter packages get" in '))
|
||||
errors.removeAt(0);
|
||||
if (errors.first.startsWith('Analyzing '))
|
||||
|
||||
Reference in New Issue
Block a user