Skip to content

Commit e490228

Browse files
andy5995claude
andcommitted
test: suppress SC2329 on cleanup trap function
shellcheck cannot see that cleanup() is called indirectly via trap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 033d9d0 commit e490228

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_media_root.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ TEST_DIR="/tmp/rmw-media-root-test"
3434
test_file="media_root_test"
3535
test_file_path="$TEST_DIR/$test_file"
3636

37+
# shellcheck disable=SC2329
3738
cleanup() {
3839
rm -rf "$TRASH_DIR" "$TEST_DIR"
3940
}

0 commit comments

Comments
 (0)