fix(shellcheck): declare and assign separately in router.sh (SC2155) (#231)

This commit is contained in:
Darren Hinde 2026-02-20 00:28:21 +00:00 committed by GitHub
parent 9e5e70a12d
commit 8e8084e4ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"