2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 04:59:01 +00:00

style: updated message log for app wise deps setup

This commit is contained in:
Gavin D'souza 2020-03-25 13:07:55 +05:30
parent 2e23133a56
commit 35d1166868

View File

@ -591,7 +591,7 @@ def update_yarn_packages(bench_path='.'):
for app in os.listdir(apps_dir): for app in os.listdir(apps_dir):
app_path = os.path.join(apps_dir, app) app_path = os.path.join(apps_dir, app)
if os.path.exists(os.path.join(app_path, 'package.json')): if os.path.exists(os.path.join(app_path, 'package.json')):
print('\nRunning "yarn install" for {0}'.format(app)) print('\n{0}Installing node dependencies for {1}{2}'.format(color.yellow, app, color.nc))
exec_cmd('yarn install', cwd=app_path) exec_cmd('yarn install', cwd=app_path)