fix(ci): switch script args

This commit is contained in:
arcnmx 2024-03-21 17:21:56 -07:00
parent c3892e11f4
commit f1b1f3f27e

View file

@ -5,7 +5,7 @@ shift
ARG_HOSTNAME=$(nf-hostname "$ARG_NODE") ARG_HOSTNAME=$(nf-hostname "$ARG_NODE")
NIX_SSHOPTS=$(nf-sshopts "$ARG_NODE") NIX_SSHOPTS=$(nf-sshopts "$ARG_NODE")
if [[ $# -gt 0 ]]; then if [[ $# -gt 0 ]] && [[ ${1-} != -* ]]; then
ARG_METHOD=$1 ARG_METHOD=$1
shift shift
else else