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

Unified Diff: pkg/flash_sd_card/lib/src/context.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: pkg/flash_sd_card/lib/src/context.dart
diff --git a/pkg/flash_sd_card/lib/src/context.dart b/pkg/flash_sd_card/lib/src/context.dart
index 63194bf5e0b1afcd6c2da276d94a22554796dc19..fad53f95be1b14d3054ee34119d409abc4c4eba1 100644
--- a/pkg/flash_sd_card/lib/src/context.dart
+++ b/pkg/flash_sd_card/lib/src/context.dart
@@ -200,18 +200,18 @@ class Context implements OutputService {
if (_arguments['version'] != null) {
return _arguments['version'];
}
- const String fletchVm = const String.fromEnvironment("fletch-vm");
- if (fletchVm == null || fletchVm.isEmpty) {
+ const String dartinoVm = const String.fromEnvironment("dartino-vm");
+ if (dartinoVm == null || dartinoVm.isEmpty) {
await failure(
'Failed to determine SDK version. Please use the --version flag.');
}
- if (!await new File(fletchVm).exists()) {
+ if (!await new File(dartinoVm).exists()) {
await failure(
'Failed to determine SDK version. '
- "Cannot find the Fletch VM at the expected location '$fletchVm'."
+ "Cannot find the Dartino VM at the expected location '$dartinoVm'."
'Your SDK might be broken');
}
- var result = await runProcess(fletchVm, ['--version']);
+ var result = await runProcess(dartinoVm, ['--version']);
if (result.exitCode != 0) {
await failure('Failed to determine SDK version');
}

Powered by Google App Engine
This is Rietveld 408576698