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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart

Issue 365993007: Support "pub downgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 5 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 | « sdk/lib/_internal/pub/lib/src/command/get.dart ('k') | sdk/lib/_internal/pub/lib/src/command/upgrade.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart b/sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart
index 047067aae30bbad80fc61125b39a332496d84da4..6d03f55519f436c42dcfa3a3d9e86280045a6abf 100644
--- a/sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/global_deactivate.dart
@@ -8,7 +8,6 @@ import 'dart:async';
import '../command.dart';
import '../utils.dart';
-import '../version.dart';
/// Handles the `global deactivate` pub command.
class GlobalDeactivateCommand extends PubCommand {
@@ -31,5 +30,6 @@ class GlobalDeactivateCommand extends PubCommand {
}
globals.deactivate(commandOptions.rest.first);
+ return null;
}
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/get.dart ('k') | sdk/lib/_internal/pub/lib/src/command/upgrade.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698