redis-cli icon indicating copy to clipboard operation
redis-cli copied to clipboard

fix(#41) - handles scenario with elem is not an array

Open wallaceiam opened this issue 1 year ago • 0 comments

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

wallaceiam avatar Nov 01 '23 13:11 wallaceiam