2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Merge pull request #583 from achillesrasquinha/fix-nodepack

provide bench path
This commit is contained in:
Achilles Rasquinha 2018-02-26 12:13:12 +05:30 committed by GitHub
commit ac30619178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,7 +433,7 @@ def update_requirements(bench_path='.'):
def update_node_packages(bench_path='.'): def update_node_packages(bench_path='.'):
print('Updating node packages...') print('Updating node packages...')
from bench.app import get_current_version from bench.app import get_current_version
v = semantic_version.Version(get_current_version('frappe')) v = semantic_version.Version(get_current_version('frappe', bench_path = bench_path))
# After rollup was merged, frappe_version = 10.1 # After rollup was merged, frappe_version = 10.1
# anything before that was npm based # anything before that was npm based