diff --git a/SC1091.md b/SC1091.md index 900cb34..9f2d27d 100644 --- a/SC1091.md +++ b/SC1091.md @@ -10,6 +10,15 @@ source somefile ### Correct code: +In case you have access to the file, e.g. if it is included in your source code repository: + +```sh +# shellcheck source=somefile +source somefile +``` + +In case you do not have access to the file: + ```sh # shellcheck disable=SC1091 source somefile