<#17956 `shellcheck` does not set `-x` by default>...
# github-notifications
q
#17956 `shellcheck` does not set `-x` by default Issue created by stuhood I am a first time user of Pants'
shell
backend, but: it looks like Pants'
shellcheck
integration does not set
-x
by default. The impact of this seems to be that
shellcheck
will never follow a reference like:
Copy code
source some/literal/filename.sh
...and will error instead, even if it has properly been inferred as a dependency: i.e., even if
./pants dependencies
on the first file shows the second file. This can be fixed by setting:
Copy code
[shellcheck]
args = ["-x"]
pantsbuild/pants