Skip to content

fix(transcribe): avoid unbound variable error in cleanup with set -u - #38

Open
Lin-ZJ wants to merge 1 commit into
badlogic:mainfrom
Lin-ZJ:fix/transcribe-cleanup-unbound-variable
Open

fix(transcribe): avoid unbound variable error in cleanup with set -u#38
Lin-ZJ wants to merge 1 commit into
badlogic:mainfrom
Lin-ZJ:fix/transcribe-cleanup-unbound-variable

Conversation

@Lin-ZJ

@Lin-ZJ Lin-ZJ commented Jun 7, 2026

Copy link
Copy Markdown

When CLEANUP_PATHS array is empty, iterating with ${CLEANUP_PATHS[@]} triggers an unbound variable error under 'set -u'. Check array length before cleanup to prevent this.

When CLEANUP_PATHS array is empty, iterating with ${CLEANUP_PATHS[@]}
triggers an unbound variable error under 'set -u'. Check array length
before cleanup to prevent this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant