(pluginName: string)
| 248 | * @returns Absolute path to legacy plugin directory |
| 249 | */ |
| 250 | export function getLegacyCachePath(pluginName: string): string { |
| 251 | const cachePath = getPluginCachePath() |
| 252 | return join(cachePath, pluginName.replace(/[^a-zA-Z0-9\-_]/g, '-')) |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * Resolve plugin path with fallback to legacy location. |
no test coverage detected