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

Unified Diff: pkg/docgen/lib/src/generator.dart

Issue 713863003: Generate docgen file names with hyphens in their names instead of colons (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test Created 6 years, 1 month 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
« no previous file with comments | « no previous file | pkg/docgen/lib/src/models/indexable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/src/generator.dart
diff --git a/pkg/docgen/lib/src/generator.dart b/pkg/docgen/lib/src/generator.dart
index 2b7b1f876275ef90352503001f166dddde98a399..3a050419cedb713496060f5344b1eb93adbeec37 100644
--- a/pkg/docgen/lib/src/generator.dart
+++ b/pkg/docgen/lib/src/generator.dart
@@ -247,7 +247,7 @@ void _writeOutputFiles(Map<String, dynamic> libraryMap, Iterable<Indexable>
/// Helper method to serialize the given Indexable out to a file.
void _writeIndexableToFile(Indexable result, JsonEncoder encoder) {
- var outputFile = result.qualifiedName + '.json';
+ var outputFile = result.fileName + '.json';
var output = encoder.convert(result.toMap());
_writeToFile(output, outputFile);
}
« no previous file with comments | « no previous file | pkg/docgen/lib/src/models/indexable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698