(candidate: string)
| 30 | } |
| 31 | |
| 32 | async function pathExists(candidate: string): Promise<boolean> { |
| 33 | try { |
| 34 | await fs.access(candidate, fs.constants.X_OK); |
| 35 | return true; |
| 36 | } catch { |
| 37 | return false; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | export async function ensureAndroidSdkPathConfigured( |
| 42 | env: NodeJS.ProcessEnv = process.env, |
no outgoing calls
no test coverage detected
searching dependent graphs…