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
As already commented on the PR, this is by no means specific to basename, and so the check should probably be extended to any command which accepts a file name parameter. basename is a common victim to this because people do
proposal:
this throws an error:
so better remind the use to always call with
maybe related: #9 and
https://unix.stackexchange.com/questions/94295/shellcheck-is-advising-not-to-use-basename-why/381440
The text was updated successfully, but these errors were encountered: