Install project-compatible Node.js version
This commit is contained in:
@@ -62,11 +62,6 @@ def check_environment(
|
||||
results: list[EnvironmentCheck] = []
|
||||
|
||||
for name, command in selected_checks.items():
|
||||
path_result = _try_command(name, command, "PATH", command_runner)
|
||||
if path_result.installed:
|
||||
results.append(path_result)
|
||||
continue
|
||||
|
||||
manual_path = configured_paths.get(name)
|
||||
if manual_path and manual_path.exists():
|
||||
manual_command = [str(manual_path), *command[1:]]
|
||||
@@ -75,6 +70,11 @@ def check_environment(
|
||||
results.append(manual_result)
|
||||
continue
|
||||
|
||||
path_result = _try_command(name, command, "PATH", command_runner)
|
||||
if path_result.installed:
|
||||
results.append(path_result)
|
||||
continue
|
||||
|
||||
discovered = discover_executable(name, roots)
|
||||
if discovered:
|
||||
discovered_command = [str(discovered), *command[1:]]
|
||||
|
||||
Reference in New Issue
Block a user