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

Unified Diff: sdk/lib/_internal/pub/lib/src/io.dart

Issue 959843002: Fix real_version_test on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | sdk/lib/_internal/pub/test/real_version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/io.dart
diff --git a/sdk/lib/_internal/pub/lib/src/io.dart b/sdk/lib/_internal/pub/lib/src/io.dart
index 3f7f553f945b6497ea9678265467652753d63f63..9662d1f9151b246267b3b089e948b63a0b0731d7 100644
--- a/sdk/lib/_internal/pub/lib/src/io.dart
+++ b/sdk/lib/_internal/pub/lib/src/io.dart
@@ -503,17 +503,7 @@ String get repoRoot {
// Get the path to the directory containing this very file.
var libDir = path.dirname(libraryPath('pub.io'));
- // TODO(rnystrom): Remove this when #104 is fixed.
- // If we are running from the async/await compiled build directory, walk out
- // out of that. It will be something like:
- //
- // <repo>/<build>/<config>/pub_async/lib/src
- if (libDir.contains('pub_async')) {
- return path.normalize(path.join(libDir, '..', '..', '..', '..', '..'));
- }
-
- // Otherwise, assume we're running directly from the source location in the
- // repo:
+ // Assume we're running directly from the source location in the repo:
//
// <repo>/sdk/lib/_internal/pub/lib/src
return path.normalize(path.join(libDir, '..', '..', '..', '..', '..', '..'));
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/test/real_version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698