mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2033 (markdown)
@@ -19,6 +19,7 @@ Instead, the function contents can be executed in a shell, either through `sh -c
|
||||
|
||||
If you're intentionally passing a word that happens to have the same name as a declared function, you can quote it to make shellcheck ignore it, e.g.
|
||||
|
||||
apt-get() {
|
||||
sudo "apt-get" "$@"
|
||||
nobody() {
|
||||
sudo -u "nobody" "$@"
|
||||
}
|
||||
|
Reference in New Issue
Block a user