For new checks and feature suggestions
Here's a snippet or screenshot that shows a potential problem:
#!/bin/bash
compgen -V files -G '*'
printf "%s\n" "${files[@]}"
Here's what shellcheck currently says:
SC1254: files is referenced but not assigned
Here's what I wanted to see:
No warning, files was assigned.
For new checks and feature suggestions
Here's a snippet or screenshot that shows a potential problem:
Here's what shellcheck currently says:
SC1254: files is referenced but not assigned
Here's what I wanted to see:
No warning,
fileswas assigned.