This pipeline is intended for running rails/buildkite-config CI triggered builds

Correctly handle the case of an API response that returns a hash by treating a single hash argument as the resource instead of as options.

Failed in 14s
:pipeline: rails-nightly-initial-pipelinePATH=/bin:/usr/bin && set -e && if [ -d ".buildkite" ]; then && echo "+++ :bk-status-failed: .buildkite/ already exists; please remove it and try again" && exit 1 && fi && if [ -n "$CONFIG_REPO" ]; then && GIT_REPO="$CONFIG_REPO" && else && GIT_REPO="https://github.com/rails/buildkite-config" && fi && GIT_BRANCH="${CONFIG_BRANCH-main}" && GIT_BRANCH="${GIT_BRANCH#*:}" && echo "Cloning buildkite-config:" && echo "git clone -b \"$GIT_BRANCH\" \"$GIT_REPO\" .buildkite" && git clone -b "$GIT_BRANCH" "$GIT_REPO" .buildkite && rm -rf .buildkite/.git && sh -c "$PIPELINE_COMMAND" && ([ -f .buildkite/.dockerignore ] && cp .buildkite/.dockerignore .dockerignore) || true
Waited 4s
·
Ran in 14s
Total Job Run Time: 13s