$ shellcheck myscript
[Line 4:](javascript:setPosition(4, 59))
sudo apt update; sudo apt install -y google-chrome-stable >> "$errorlog"
^-- [SC2024](https://www.shellcheck.net/wiki/SC2024) (warning): sudo doesn't affect redirects. Use .. | sudo tee -a file
$
$ shellcheck myscript
No issues detected!
$
For bugs with existing features
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:
Additional: