(name)
| 25 | } |
| 26 | |
| 27 | function resolveRuntime(name) { |
| 28 | if (commandExists(name)) { |
| 29 | return name; |
| 30 | } |
| 31 | if (wslCommandExists(name)) { |
| 32 | return `wsl ${name}`; |
| 33 | } |
| 34 | return null; |
| 35 | } |
| 36 | |
| 37 | function detectRuntime() { |
| 38 | if (cachedRuntime) { |
no test coverage detected