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
I though this issue might be related, but it was fixed long ago #102
This is kind of the opposite of SC2178
The text was updated successfully, but these errors were encountered:
ycdtosa
changed the title
TODO: Add title
variable is assigned a string but is used as an array
Mar 25, 2019
ycdtosa
changed the title
variable is assigned a string but is used as an array
variable is assigned a string and later it is used as an array
Mar 26, 2019
For bugs
Rule Id (if any, e.g. SC1000):
My shellcheck version (
shellcheck --version
or 'online'): online(but also tested with version 0.4.4 on debian)
I tried on shellcheck.net and verified that this is still a problem on the latest commit
It's not reproducible on shellcheck.net, but I think that's because it's an OS, configuration or encoding issue
For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
Note: The purpose of my real code is other than echo.
The description of the issue should say how to fix the code:
I though this issue might be related, but it was fixed long ago #102
This is kind of the opposite of SC2178
The text was updated successfully, but these errors were encountered: