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

Unified Diff: utils/pub/validator/pubspec_field.dart

Issue 14070010: Refactor Future constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added co19 issue number. Created 7 years, 8 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 | « utils/pub/validator/name.dart ('k') | utils/pub/validator/utf8_readme.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator/pubspec_field.dart
diff --git a/utils/pub/validator/pubspec_field.dart b/utils/pub/validator/pubspec_field.dart
index e87f38b2e4f958431ee00a8f848fe26be77f5f73..03a1b8e0dc31b9f1952fd72e8b4aa55d2aaea5e4 100644
--- a/utils/pub/validator/pubspec_field.dart
+++ b/utils/pub/validator/pubspec_field.dart
@@ -56,6 +56,6 @@ class PubspecFieldValidator extends Validator {
errors.add('Your pubspec.yaml is missing a "version" field.');
}
- return new Future.immediate(null);
+ return new Future.value();
}
}
« no previous file with comments | « utils/pub/validator/name.dart ('k') | utils/pub/validator/utf8_readme.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698