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

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

Issue 308773003: Found some more code referring to the special "asset" directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/barback/web_socket_api.dart ('k') | sdk/lib/_internal/pub/lib/src/io.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/barback.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/barback.dart b/sdk/lib/_internal/pub/lib/src/command/barback.dart
index 72a50ba67325d1447a5ba8e26a3c7198c1327fa5..b7df78bd640cb6d32c3754afd6c2a1eb3dd71611 100644
--- a/sdk/lib/_internal/pub/lib/src/command/barback.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/barback.dart
@@ -88,10 +88,10 @@ abstract class BarbackCommand extends PubCommand {
sourceDirectories.addAll(commandOptions.rest);
- // Prohibit "lib" and "asset".
+ // Prohibit "lib".
var disallowed = sourceDirectories.where((dir) {
var parts = path.split(path.normalize(dir));
- return parts.isNotEmpty && ["lib", "asset"].contains(parts.first);
+ return parts.isNotEmpty && parts.first == "lib";
});
if (disallowed.isNotEmpty) {
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698