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 90e8cf749092ae8a36a81a986526d2ba49c7a7bb..277f5b111a04a648e5fd9bde06af1d0eef84cfe9 100644 |
--- a/sdk/lib/_internal/pub/lib/src/io.dart |
+++ b/sdk/lib/_internal/pub/lib/src/io.dart |
@@ -455,7 +455,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. |
-bool get runningFromSdk => Platform.script.path.endsWith('.snapshot'); |
+final bool runningFromSdk = Platform.script.path.endsWith('.snapshot'); |
/// Resolves [target] relative to the path to pub's `asset` directory. |
String assetPath(String target) { |