2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fix: Message per app when installing node deps

This commit is contained in:
Faris Ansari 2020-03-24 21:35:40 +05:30
parent 50ef73933c
commit bdc20a5435

View File

@ -505,6 +505,7 @@ def update_yarn_packages(bench_path='.'):
for app in os.listdir(apps_dir):
app_path = os.path.join(apps_dir, app)
if os.path.exists(os.path.join(app_path, 'package.json')):
print('\nRunning "yarn install" for {0}'.format(app))
exec_cmd('yarn install', cwd=app_path)