mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
Replace cipher results with filtered results (#301)
This commit is contained in:
@@ -133,9 +133,9 @@ export class GetCommand extends DownloadCommand {
|
||||
}
|
||||
if (Array.isArray(decCipher)) {
|
||||
if (filter != null) {
|
||||
const filteredCiphers = decCipher.filter(filter);
|
||||
if (filteredCiphers.length === 1) {
|
||||
decCipher = filteredCiphers[0];
|
||||
decCipher = decCipher.filter(filter);
|
||||
if (decCipher.length === 1) {
|
||||
decCipher = decCipher[0];
|
||||
}
|
||||
}
|
||||
if (Array.isArray(decCipher)) {
|
||||
|
||||
Reference in New Issue
Block a user