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

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

Issue 11783009: Big merge from experimental to bleeding edge. (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/pub/validator/license.dart ('k') | utils/pub/version.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator/name.dart
diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart
index 3d467c579bde4daaf7c45f68f620b721ba376303..8d9e93dfe49f3e83c5a3410ce294a16224e99111 100644
--- a/utils/pub/validator/name.dart
+++ b/utils/pub/validator/name.dart
@@ -49,7 +49,7 @@ class NameValidator extends Validator {
return dirExists(libDir).chain((libDirExists) {
if (!libDirExists) return new Future.immediate([]);
return listDir(libDir, recursive: true);
- }).transform((files) {
+ }).then((files) {
return files.map((file) => relativeTo(file, dirname(libDir)))
.filter((file) {
return !splitPath(file).contains("src") &&
« no previous file with comments | « utils/pub/validator/license.dart ('k') | utils/pub/version.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698