From cf73b390b50bf7638ace7f7102f81a9634a5fb6a Mon Sep 17 00:00:00 2001 From: Federer Fanatic <22579060+federerfanatic@users.noreply.github.com> Date: Wed, 31 Jan 2024 08:43:34 -0500 Subject: [PATCH] Updated SC2317 (markdown) --- SC2317.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2317.md b/SC2317.md index 442a9eb..818a176 100644 --- a/SC2317.md +++ b/SC2317.md @@ -69,7 +69,7 @@ Defined functions are assumed to be reachable when the script ends (not exits) s ### More Problematic Code -You have defined two functions in the files you are sourcing whose names are the same but defined differently within their bodies. Then you will see the same error message albeit it will be mysterious at first. However, when invoking ShellCheck! on the ex command line I noticed that the whole definition of the **earlier seen** definition was ignored. Indeed every message was that every line was unreachable. +You have defined two functions in the same file you are sourcing whose names are the same but defined differently within their bodies. Then you will see the same error message albeit it will be mysterious at first. However, when invoking ShellCheck! on the ex command line I noticed that the whole definition of the **earlier seen** definition was ignored. Indeed every message was that every line of the earlier seen definition was deemed unreachable.