-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC1091
koalaman edited this page Aug 17, 2015
·
9 revisions
Reasons include: file not found, no permissions, not included on the command line, not allowing shellcheck
to follow files with -x
, etc.
source somefile
# shellcheck disable=SC1091
source somefile
ShellCheck, for whichever reason, is not able to access the source file.
This could be because you did not include it on the command line, did not use shellcheck -x
to allow following other files, don't have permissions or a variety of other problems.
Feel free to ignore the error with a directive.
If you're fine with it, ignore the message with a directive.