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"