chore: Use rmSync
instead of rmdirSync
#33551
Merged
rmSync
instead of rmdirSync
#33551