fix: correctly handle exiting the argument parsing loop

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-16 01:24:28 -05:00
1 parent 531bb20519
commit a9127e3abd
4 files changed
+20 -8

No files matched your search

+5 -2
View File
@@ -236,8 +236,11 @@ trigger-builder-dockerfile-builder-build() {
shift 1 shift 1
;; ;;
*) *)
shift if [[ -n "$1" ]]; then
continue shift
continue
fi
break
;; ;;
esac esac
done done
+5 -2
View File
@@ -232,8 +232,11 @@ trigger-builder-nixpacks-builder-build() {
shift 1 shift 1
;; ;;
*) *)
shift if [[ -n "$1" ]]; then
continue shift
continue
fi
break
;; ;;
esac esac
done done
+5 -2
View File
@@ -270,8 +270,11 @@ trigger-builder-pack-builder-build() {
shift 1 shift 1
;; ;;
*) *)
shift if [[ -n "$1" ]]; then
continue shift
continue
fi
break
;; ;;
esac esac
done done
+5 -2
View File
@@ -114,8 +114,11 @@ trigger-builder-railpack-builder-build() {
shift 1 shift 1
;; ;;
*) *)
shift if [[ -n "$1" ]]; then
continue shift
continue
fi
break
;; ;;
esac esac
done done