Closed jrnail23 closed 4 years ago
Hi @jrnail23 - we are working to remove the shellcheck components from this orb in favour of the dedicated shellcheck orb, coupled with our new orb pack
command for inluding scripts within orbs (which you can read a bit more about here - https://discuss.circleci.com/t/circleci-cli-orb-pack-beta/36598. We have since moved this out of beta). https://github.com/CircleCI-Public/shellcheck-orb.
In this case, it may be worth simple adding SC2034
to the exclusion list.
Closing as shellcheck is no longer present as of v10 (961db4c50395f42ba8b7f71bdc1fc7aa7cc776d0).
Using v9.1.1 of the orb, I added the shellcheck job to my workflow, and it seems to be having trouble parsing some of my commands that use command parameters. Also, FWIW, shellcheck is incorrectly complaining (warning) about variables not being used, but perhaps that's a side-effect of the parsing failure.
Here's a (private) link to my failed job: https://app.circleci.com/pipelines/github/socialtables/sonarcloud-orb/71/workflows/e389ee3f-d3e1-4733-a42b-87bfa3d7e81c/jobs/177/parallel-runs/0/steps/0-104
Here's the relevant output from the failing shellcheck job:
And here's the actual source of the above commands:
from scan.yml
From install-cli.yml