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:
commit
ac30619178
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user