* Gets the appropriate Java installation command for the current platform * @private
()
| 1244 | // Fallback for unknown platforms or when distro detection fails |
| 1245 | switch (dep) { |
| 1246 | case 'npm': { |
| 1247 | return 'Install Node.js from https://nodejs.org (includes npm)'; |
| 1248 | } |
| 1249 | case 'bazelisk': { |
| 1250 | return 'valdi dev_setup'; |
| 1251 | } |
| 1252 | default: { |
| 1253 | return `Install ${dep} using your system's package manager`; |
| 1254 | } |
| 1255 | } |
| 1256 | } |
| 1257 | |
| 1258 | /** |
| 1259 | * Outputs diagnostic results in JSON format for machine processing. |
no test coverage detected