From da5dc39c9dfc7904de14db2ce645ac004adc0c9d Mon Sep 17 00:00:00 2001 From: koalaman Date: Sun, 16 Aug 2015 17:56:49 -0700 Subject: [PATCH] Created SC1091 (markdown) --- SC1091.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 SC1091.md diff --git a/SC1091.md b/SC1091.md new file mode 100644 index 0000000..65f0c27 --- /dev/null +++ b/SC1091.md @@ -0,0 +1,24 @@ +## Not following: some reason here. + +Reasons include: file not found, no permissions, not included on the command line. + +### Problematic code: + + source somefile + +### Correct code: + + # shellcheck disable=SC1091 + source somefile + +### Rationale: + +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]]. + +### Exceptions: + +If you're fine with it, ignore the message with a [[directive]]. \ No newline at end of file