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

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

Issue 806953002: Change dartdocgen --serve to use pub get rather than pub upgrade (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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: pkg/docgen/lib/src/viewer.dart
diff --git a/pkg/docgen/lib/src/viewer.dart b/pkg/docgen/lib/src/viewer.dart
index b76bd9ef7ffd177440c85dfcf7521d20636362bd..f5b7172d4b7b3d006481fba541926bea697f558c 100644
--- a/pkg/docgen/lib/src/viewer.dart
+++ b/pkg/docgen/lib/src/viewer.dart
@@ -89,7 +89,7 @@ void _clone() {
if (processResult.exitCode == 0) {
/// Move the generated json/yaml docs directory to the dartdoc-viewer
/// directory, to run as a webpage.
- var processResult = Process.runSync(gen.pubScript, ['upgrade'],
+ var processResult = Process.runSync(gen.pubScript, ['get'],
runInShell: true, workingDirectory: _viewerCodePath);
print('process output: ${processResult.stdout}');
print('process stderr: ${processResult.stderr}');
« 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