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

Unified Diff: lib/src/io.dart

Issue 1148443005: Use an auto-generated pub snapshot for tests. (Closed) Base URL: git@github.com:dart-lang/pub_test@master
Patch Set: Code review changes Created 5 years, 7 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 | « lib/src/git.dart ('k') | test/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « lib/src/git.dart ('k') | test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698