Improve identification when an orb is "unused" if it's executor is used
In our pipeline, we use the CLI Orb to define an executor, and then use that executor in jobs. Interestingly, we've found v1.2 of the VS Code extension warns us that the CLI orb is unused. But if we remove it, then the warning shows up on any job where we have defined the executor as "executor: cli/default" with "Executor
cli/defaultdoes not exist" (which is now correct).
So we believe the error that the orb is not in use isn't quite right in this instance, if we're using the executor from the orb. (Which to be fair, does seem like an edge case!)
# see warning about orb not in use
# if orb is commented out, this line will warn the executor is unknown
marked this post as
Benedetta Dal Canton