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