mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-11-07 04:46:15 +08:00
This adds a warning for readonly masking the return value of function. This is mentioned in the wiki https://github.com/koalaman/shellcheck/wiki/SC2155#problematic-code-in-the-case-of-readonly but didn't actually produce a warning. Fixes https://github.com/koalaman/shellcheck/issues/1336