From eb3b50bf111fb1c8df62a512a1aca851ba63e1c5 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sun, 16 Aug 2015 18:01:20 -0700 Subject: [PATCH] Created SC1094 (markdown) --- SC1094.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 SC1094.md diff --git a/SC1094.md b/SC1094.md new file mode 100644 index 0000000..041f82f --- /dev/null +++ b/SC1094.md @@ -0,0 +1,22 @@ +## Parsing of sourced file failed. Ignoring it. + +### Problematic code: + + source mylib + +### Correct code: + + # shellcheck disable=SC1094 + source mylib + +(or fix `mylib`) + +### Rationale: + +ShellCheck encountered a parsing error in a sourced file, `mylib` in the example. + +Fix parsing error, or just disable it with a directive. + +### Exceptions: + +If the file is fine and this is due to a known `shellcheck` bug, you can ignore it with a [[directive]] as in the example. \ No newline at end of file