Index: utils/pub/command_lish.dart |
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart |
index 55237e94396c3a46493af4ac5d898adf4f9b1c9e..53fb3a905a19ada954c9fb4beb86c319710f098b 100644 |
--- a/utils/pub/command_lish.dart |
+++ b/utils/pub/command_lish.dart |
@@ -142,6 +142,8 @@ class LishCommand extends PubCommand { |
if (file == null || _BLACKLISTED_FILES.contains(basename(file))) { |
return false; |
} |
+ // TODO(nweiz): Since `file` is absolute, this will break if the package |
+ // itself is in a directory named "packages". |
Bob Nystrom
2012/12/07 21:28:39
File a bug for this?
nweiz
2012/12/07 21:33:31
Done.
|
return !splitPath(file).some(_BLACKLISTED_DIRECTORIES.contains); |
})); |
} |