Skip to content

Commit 84e6f1f

Browse files
committed
Remove empty files from generated API
1 parent 4850b53 commit 84e6f1f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/api.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ do
1313
"$pyi" > "${pyi%.pyi}.api"
1414
rm "$pyi"
1515
done
16+
# Remove empty files.
17+
find api -size 0 -exec rm "{}" \;

0 commit comments

Comments
 (0)