mirror of
https://github.com/bitwarden/cli
synced 2025-12-10 21:33:33 +00:00
parens on ORs
This commit is contained in:
@@ -72,7 +72,7 @@ export class ListCommand {
|
||||
return true;
|
||||
}
|
||||
const collectionId = cmd.collectionid === 'null' ? null : cmd.collectionid;
|
||||
if (collectionId == null && c.collectionIds == null || c.collectionIds.length === 0) {
|
||||
if (collectionId == null && (c.collectionIds == null || c.collectionIds.length === 0)) {
|
||||
return true;
|
||||
}
|
||||
if (collectionId != null && c.collectionIds != null && c.collectionIds.indexOf(collectionId) > -1) {
|
||||
|
||||
Reference in New Issue
Block a user