Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart

Issue 599303002: Don't use .gitignore when determining what to build/serve/run. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use .gitignore in dartdoc validator. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart b/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
index f28eed4c8358d8abe0f814491475dbd4558d59e1..03323fa02235a948d8ca9dfb2eac9b7d922fa8e5 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/validator/compiled_dartdoc.dart
@@ -8,7 +8,7 @@ class CompiledDartdocValidator extends Validator {
CompiledDartdocValidator(Entrypoint entrypoint) : super(entrypoint);
Future validate() {
return new Future.sync(() {
- for (var entry in entrypoint.root.listFiles()) {
+ for (var entry in entrypoint.root.listFiles(useGitIgnore: true)) {
if (path.basename(entry) != "nav.json") continue;
var dir = path.dirname(entry);
var files = [

Powered by Google App Engine
This is Rietveld 408576698