()
| 38 | } |
| 39 | |
| 40 | export async function pickWorkspacePath(): Promise<string | null> { |
| 41 | const selection = await open({ directory: true, multiple: false }); |
| 42 | if (!selection || Array.isArray(selection)) { |
| 43 | return null; |
| 44 | } |
| 45 | return selection; |
| 46 | } |
| 47 | |
| 48 | export async function pickWorkspacePaths(): Promise<string[]> { |
| 49 | const selection = await open({ directory: true, multiple: true }); |
no outgoing calls
no test coverage detected