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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/global_packages.dart

Issue 600313002: Fix path warning test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/global_packages.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/global_packages.dart b/sdk/lib/_internal/pub_generated/lib/src/global_packages.dart
index 7f2a2ac70d8bd2b11fae164cb015cad410722cb6..8be1156acc52833f87acd12a4eb584d7bb120d17 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/global_packages.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/global_packages.dart
@@ -565,7 +565,7 @@ $invocation "\$@"
}
void _suggestIfNotOnPath(List<String> installed) {
if (Platform.operatingSystem == "windows") {
- var result = Process.runSync("where", [r"\q", installed.first]);
+ var result = runProcessSync("where", [r"\q", installed.first]);
if (result.exitCode == 0) return;
var binDir = _binStubDir;
if (binDir.startsWith(Platform.environment['APPDATA'])) {
@@ -579,7 +579,7 @@ $invocation "\$@"
'"Path" environment variable.\n'
'A web search for "configure windows path" will show you how.');
} else {
- var result = Process.runSync("which", [installed.first]);
+ var result = runProcessSync("which", [installed.first]);
if (result.exitCode == 0) return;
var binDir = _binStubDir;
if (binDir.startsWith(Platform.environment['HOME'])) {
@@ -591,7 +591,7 @@ $invocation "\$@"
"${log.bold(binDir)}, which is not on your path.\n"
"You can fix that by adding this to your shell's config file "
"(.bashrc, .bash_profile, etc.):\n" "\n"
- "\n${log.bold('export PATH="\$PATH":"$binDir"')}\n");
+ " ${log.bold('export PATH="\$PATH":"$binDir"')}\n" "\n");
}
}
}

Powered by Google App Engine
This is Rietveld 408576698