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

Unified Diff: utils/pub/command_lish.dart

Issue 11865005: Remove Futures class, move methods to Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « utils/archive/reader.dart ('k') | utils/pub/curl_client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_lish.dart
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart
index 71adb9723d63aaea20431b38f8bdc1b59ca6c08f..e57402ccad90b3ffb464ca6f5ac5d4f49f4b4091 100644
--- a/utils/pub/command_lish.dart
+++ b/utils/pub/command_lish.dart
@@ -117,7 +117,7 @@ class LishCommand extends PubCommand {
Future<List<String>> get _filesToPublish {
var rootDir = entrypoint.root.dir;
- return Futures.wait([
+ return Future.wait([
dirExists(join(rootDir, '.git')),
git.isInstalled
]).then((results) {
@@ -129,7 +129,7 @@ class LishCommand extends PubCommand {
}
return listDir(rootDir, recursive: true).then((entries) {
- return Futures.wait(entries.mappedBy((entry) {
+ return Future.wait(entries.mappedBy((entry) {
return fileExists(entry).then((isFile) {
// Skip directories.
if (!isFile) return null;
« no previous file with comments | « utils/archive/reader.dart ('k') | utils/pub/curl_client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698