You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for cmd in $(ls -1 musicbot/commands | grep -vE "(__init__|__pycache__|test)"); do # W: Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames.
cmds=$(grep -c cli.command musicbot/commands/$cmd) # I: Double quote to prevent globbing and word splitting.
tests=$(grep -c '^def test_' tests/test_$cmd); # I: Double quote to prevent globbing and word splitting.