rate/prettier.py

9 lines
195 B
Python
Raw Normal View History

2022-10-11 10:18:12 +00:00
#!/usr/bin/python
import os
for dir in os.listdir('.'):
if os.path.isdir(dir) and not dir.startswith('.'):
os.chdir(dir)
os.system('npm run prettier')
os.chdir('..')