Index: utils/pub/sdk_source.dart |
diff --git a/utils/pub/sdk_source.dart b/utils/pub/sdk_source.dart |
index 6fbba0959441d2740337dd91a63cff79fe869722..1544152e13504485687a594c0fc076dc8f455aa2 100644 |
--- a/utils/pub/sdk_source.dart |
+++ b/utils/pub/sdk_source.dart |
@@ -5,6 +5,9 @@ |
library sdk_source; |
import 'dart:async'; |
+ |
+import '../../pkg/path/lib/path.dart' as path; |
+ |
import 'io.dart'; |
import 'package.dart'; |
import 'pubspec.dart'; |
@@ -45,7 +48,7 @@ class SdkSource extends Source { |
/// Gets the path in the SDK's "pkg" directory to the directory containing |
/// package [id]. Returns `null` if the package could not be found. |
String _getPackagePath(PackageId id) { |
- var pkgPath = join(sdk.rootDirectory, "pkg", id.description); |
+ var pkgPath = path.join(sdk.rootDirectory, "pkg", id.description); |
return dirExists(pkgPath) ? pkgPath : null; |
} |
} |