diff --git a/share/gitea-tekton-org/auto_Task.tf b/share/gitea-tekton-org/auto_Task.tf index 09861d1..92c9f0f 100644 --- a/share/gitea-tekton-org/auto_Task.tf +++ b/share/gitea-tekton-org/auto_Task.tf @@ -175,7 +175,7 @@ resource "kubectl_manifest" "Task_auto-cd-create" { REPOS="$REPOS$1 " shift done - if [ $# -gt 1 ];then + if [ $# -gt 0 ];then shift fi create_prj "$@"