| Index: sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/validator/compiled_dartdoc.dart b/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
|
| similarity index 68%
|
| copy from sdk/lib/_internal/pub/lib/src/validator/compiled_dartdoc.dart
|
| copy to sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
|
| index 10b351fb0563f6d91790b007081f3c0f9a68619e..99900d8916c94a1a5d0127dfcad72eba8bc8727e 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/validator/compiled_dartdoc.dart
|
| +++ b/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
|
| @@ -16,7 +16,7 @@ import '../validator.dart';
|
| /// output.
|
| class CompiledDartdocValidator extends Validator {
|
| CompiledDartdocValidator(Entrypoint entrypoint)
|
| - : super(entrypoint);
|
| + : super(entrypoint);
|
|
|
| Future validate() {
|
| return new Future.sync(() {
|
| @@ -26,18 +26,16 @@ class CompiledDartdocValidator extends Validator {
|
|
|
| // Look for tell-tale Dartdoc output files all in the same directory.
|
| var files = [
|
| - entry,
|
| - path.join(dir, "index.html"),
|
| - path.join(dir, "styles.css"),
|
| - path.join(dir, "dart-logo-small.png"),
|
| - path.join(dir, "client-live-nav.js")
|
| - ];
|
| + entry,
|
| + path.join(dir, "index.html"),
|
| + path.join(dir, "styles.css"),
|
| + path.join(dir, "dart-logo-small.png"),
|
| + path.join(dir, "client-live-nav.js")];
|
|
|
| if (files.every((val) => fileExists(val))) {
|
| - warnings.add("Avoid putting generated documentation in "
|
| - "${path.relative(dir)}.\n"
|
| - "Generated documentation bloats the package with redundant "
|
| - "data.");
|
| + warnings.add(
|
| + "Avoid putting generated documentation in " "${path.relative(dir)}.\n"
|
| + "Generated documentation bloats the package with redundant " "data.");
|
| }
|
| }
|
| });
|
|
|