From 59bbee4b47e8dbb1885f081c6b63c7f2a20b3717 Mon Sep 17 00:00:00 2001 From: light7734 Date: Tue, 15 Jul 2025 16:08:17 +0330 Subject: [PATCH] ci: fix subshell trap issue in clang-format ci check --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6d96aa3..8474519 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: clang-format --version has_fomatting_issues=0 - find ./modules -name '*.?pp' | while read -r file; do + for file in $(find ./modules -name '*.?pp'); do echo "Checking format for $file" if ! clang-format --dry-run --Werror "$file"; then echo "❌ Formatting issue detected in $file"