redis-cli
redis-cli copied to clipboard
fix(#41) - handles scenario with elem is not an array
Description
This PR checks if elem is an array before attempting to map, if it isn't then just display the result.
Also includes splitargs + test to remove vulnerabilities
What type of PR is this? (check all applicable)
- [x] 🐛 Bug Fix
Related Tickets & Documents
Fixes #41
Added tests?
- [x] 👍 yes
Added to documentation?
- [x] 🙅 no documentation needed