change the other one too god im dumb

This commit is contained in:
kaelta 2022-02-20 00:15:45 +00:00
parent fecfb7da62
commit 26902bd56e
1 changed files with 2 additions and 3 deletions

View File

@ -1,15 +1,14 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os, sys
import os
if __name__ == '__main__':
if not os.path.exists('./_layouts'):
raise OSError('the _layouts directory doesnt exist! clone again pls :)')
try:
os.system('cd _layouts && yarn')
except OSError:
print("""
raise("""
*for your own sanity just install yarn:*
`npm i -g yarn@latest`
""")
sys.exit(130)
os.system('cd _layouts && yarn && yarn dev')