(str: string)
| 69 | prefix?: 'local.unpacked' | 'local.dxt', |
| 70 | ): string { |
| 71 | const sanitize = (str: string) => |
| 72 | str |
| 73 | .toLowerCase() |
| 74 | .replace(/\s+/g, '-') |
| 75 | .replace(/[^a-z0-9-_.]/g, '') |
| 76 | .replace(/-+/g, '-') |
| 77 | .replace(/^-+|-+$/g, '') |
| 78 | |
| 79 | const authorName = manifest.author.name |
| 80 | const extensionName = manifest.name |
no outgoing calls
no test coverage detected