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, '..', '..', '..', '..', '..', '..')); |