( marketplaceName: string, )
| 382 | * Format: marketplaces/{marketplace-name}.json |
| 383 | */ |
| 384 | export function getMarketplaceJsonRelativePath( |
| 385 | marketplaceName: string, |
| 386 | ): string { |
| 387 | const sanitized = marketplaceName.replace(/[^a-zA-Z0-9\-_]/g, '-') |
| 388 | return join('marketplaces', `${sanitized}.json`) |
| 389 | } |
| 390 | |
| 391 | /** |
| 392 | * Check if a marketplace source type is supported by zip cache mode. |
no outgoing calls
no test coverage detected