Skip to content

Commit 28a38ad

Browse files
committed
fix(ci): reconcile-guard counter bash strict-mode compat (set -e tripped on Ubuntu)
1 parent b5a6e55 commit 28a38ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/reconcile-guard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for file in $(find internal/controller -name "*.go" ! -name "*_test.go"); do
1414
line_num=0
1515

1616
while IFS= read -r line; do
17-
((line_num++))
17+
line_num=$((line_num + 1))
1818

1919
# Track function context
2020
if [[ $line =~ func\ \(.*\)\ reconcilePVC ]]; then

0 commit comments

Comments
 (0)