()
| 46 | } |
| 47 | |
| 48 | export async function pickWorkspacePaths(): Promise<string[]> { |
| 49 | const selection = await open({ directory: true, multiple: true }); |
| 50 | if (!selection) { |
| 51 | return []; |
| 52 | } |
| 53 | return Array.isArray(selection) ? selection : [selection]; |
| 54 | } |
| 55 | |
| 56 | export async function pickImageFiles(): Promise<string[]> { |
| 57 | const selection = await open({ |
no outgoing calls
no test coverage detected