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
Here's a snippet or screenshot that shows the problem:
2 files, first one:
#!/bin/bashsource /foo
another one called foo in the same directory.
Here's what shellcheck currently says:
nothing. It seems shellcheck strips away the leading / and uses the file in the current directory. In real life examples it's usally something like /usr/share/... and I do not want shellcheck to take files from $(pwd)/usr/share
Here's what I wanted or expected to see:
In some-script line 2:
source /foo
^--^ SC1091 (info): Not following: /foo: openBinaryFile: does not exist (No such file or directory)
For more information:
https://www.shellcheck.net/wiki/SC1091 -- Not following: /foo: openBinaryFi...
The text was updated successfully, but these errors were encountered:
shellcheck --version
or "online"): 0.8.0 and 0.10.0 triedHere's a snippet or screenshot that shows the problem:
2 files, first one:
another one called
foo
in the same directory.Here's what shellcheck currently says:
nothing. It seems shellcheck strips away the leading / and uses the file in the current directory. In real life examples it's usally something like
/usr/share/...
and I do not want shellcheck to take files from$(pwd)/usr/share
Here's what I wanted or expected to see:
In some-script line 2: source /foo ^--^ SC1091 (info): Not following: /foo: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /foo: openBinaryFi...
The text was updated successfully, but these errors were encountered: