mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 16:08:23 +00:00
commit
1df689a488
@ -4,7 +4,8 @@ from distutils.spawn import find_executable
|
|||||||
|
|
||||||
def execute(bench_path):
|
def execute(bench_path):
|
||||||
expected_node_ver = Version('5.0.0')
|
expected_node_ver = Version('5.0.0')
|
||||||
node_exec = find_executable('node')
|
node_exec = find_executable('node') or find_executable('nodejs')
|
||||||
|
|
||||||
|
|
||||||
if node_exec:
|
if node_exec:
|
||||||
result = subprocess.check_output([node_exec, '-v'])
|
result = subprocess.check_output([node_exec, '-v'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user