From f66cbca13b128a1692316bf8f8a7c16068b47788 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Mon, 26 Feb 2018 12:12:18 +0530 Subject: [PATCH] provide bench path --- bench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils.py b/bench/utils.py index c6faa663..55aad573 100755 --- a/bench/utils.py +++ b/bench/utils.py @@ -433,7 +433,7 @@ def update_requirements(bench_path='.'): def update_node_packages(bench_path='.'): print('Updating node packages...') 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 # anything before that was npm based