(prefix: Prefix, version: str)
| 66 | |
| 67 | |
| 68 | def health_check(prefix: Prefix, version: str) -> str | None: |
| 69 | with in_env(prefix, version): |
| 70 | retcode, _, _ = cmd_output_b('node', '--version', check=False) |
| 71 | if retcode != 0: # pragma: win32 no cover |
| 72 | return f'`node --version` returned {retcode}' |
| 73 | else: |
| 74 | return None |
| 75 | |
| 76 | |
| 77 | def install_environment( |
nothing calls this directly
no test coverage detected