From 8e8084e4aeb71a54e864a9fc5d02b014ddee3bae Mon Sep 17 00:00:00 2001 From: Darren Hinde <107584450+darrenhinde@users.noreply.github.com> Date: Fri, 20 Feb 2026 00:28:21 +0000 Subject: [PATCH] fix(shellcheck): declare and assign separately in router.sh (SC2155) (#231) --- .opencode/skill/project-orchestration/router.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.opencode/skill/project-orchestration/router.sh b/.opencode/skill/project-orchestration/router.sh index 2caf122..b21a6c2 100755 --- a/.opencode/skill/project-orchestration/router.sh +++ b/.opencode/skill/project-orchestration/router.sh @@ -51,7 +51,8 @@ fi # Find project root find_project_root() { - local dir="$(pwd)" + local dir + dir="$(pwd)" while [ "$dir" != "/" ]; do if [ -d "$dir/.git" ] || [ -f "$dir/package.json" ]; then echo "$dir"