From d3c035795e1da3d07e384be0487ec681fa67bbb6 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 1 Jul 2025 13:00:31 -0700 Subject: oops typo --- worker/scripts/fetch_code | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/scripts/fetch_code b/worker/scripts/fetch_code index 3315649..7859fb1 100755 --- a/worker/scripts/fetch_code +++ b/worker/scripts/fetch_code @@ -2,7 +2,7 @@ export LOG_PREFIX="[fetch_code $remote @ $checkout -> $path]" -if [[ "$url" == ssh://* ]]; then +if [[ "$remote" == ssh://* ]]; then host=$(echo "$url" | sed -E 's#ssh://([^:]+):[0-9]+/.*#\1#') port=$(echo "$url" | sed -E 's#ssh://[^:]+:([0-9]+)/.*#\1#') -- cgit v1.2.3-70-g09d2