Index: lib/src/io.dart |
diff --git a/lib/src/io.dart b/lib/src/io.dart |
index 687157a81dfdb16dbda0c2e1cd7336cae4d4c02f..ed9625164066c12d3c7f4401e7dd9765bcd0dbea 100644 |
--- a/lib/src/io.dart |
+++ b/lib/src/io.dart |
@@ -477,7 +477,7 @@ void createPackageSymlink(String name, String target, String symlink, |
/// Whether pub is running from within the Dart SDK, as opposed to from the Dart |
/// source repository. |
-final bool runningFromSdk = Platform.script.path.endsWith('.snapshot'); |
+final bool runningFromSdk = Platform.script.path.endsWith('.dart.snapshot'); |
/// Resolves [target] relative to the path to pub's `asset` directory. |
String assetPath(String target) { |