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

Unified Diff: main.dart

Issue 490873002: Fix of the description in pubspec.yaml (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: main.dart
diff --git a/main.dart b/main.dart
index a5a2e8f6d7f2a31a175fa99f1af7c8ba307209b2..5616c0e937faeac85f2c376d54432e0ca030135f 100644
--- a/main.dart
+++ b/main.dart
@@ -80,17 +80,20 @@ main() {
// Generate package description.
var apiDescriptions = [];
var sb = new StringBuffer()
- ..write('Auto-generated client libraries for accessing '
- 'the following APIs:');
+ ..write('"Auto-generated client libraries for accessing '
+ 'the following APIs:\\n');
items.forEach((DirectoryListItems apiDescription) {
if (apis.contains(apiDescription.id)) {
- sb..writeln(' ')
+ sb..writeln('')
+ ..write(' ')
..write(apiDescription.id)
..write(' - ')
- ..write(apiDescription.description);
+ ..write(apiDescription.description)
+ ..write('\\n');
apiDescriptions.add(apiDescription);
}
});
+ sb.write('"');
// Generate the README.md file content.
var readme = generateReadme(readmeFile, apiDescriptions);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698