Fix files not appearing bug

This commit is contained in:
Eric Torres 2022-10-01 11:00:19 -07:00
parent 3ae688eafa
commit 0eefceac9f

View File

@ -186,7 +186,7 @@ for pattern in "$@"; do
done
# If nothing was found
if [[ -z "${paths[*]}" ]]; then
if [[ -z "${files[*]}" ]]; then
color_output 'No files found, exiting' 'yellow'
exit 1
fi