mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-23 18:13:49 +08:00
tools: remove trailing whitespace
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -44,6 +44,12 @@ if [ ${#src_files[@]} -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ─── Strip trailing whitespace from all generated module docs ─────────────────────────────
|
||||
echo "✂️ Removing trailing whitespace from generated module docs"
|
||||
for src in "${src_files[@]}"; do
|
||||
sed -i 's/[[:space:]]\+$//' "$src"
|
||||
done
|
||||
|
||||
echo "🔍 Checking module reference docs in $dest_dir"
|
||||
mkdir -p "$dest_dir"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user