()
| 12 | }; |
| 13 | |
| 14 | const getDownloadsDir = async (): Promise<string> => { |
| 15 | await ensureDir(DOWNLOADS_DIR); |
| 16 | const base = await appDataDir(); |
| 17 | return join(base, DOWNLOADS_DIR); |
| 18 | }; |
| 19 | |
| 20 | export const downloadAndExtractPlugin = async ({ |
| 21 | pluginId, |
no test coverage detected