ShellCheck directives are improperly positioned after commands, rendering them ineffective. To resolve this issue, move the directive to appear before the relevant command.