(value: string)
| 153 | } |
| 154 | |
| 155 | function sanitizePathSegment(value: string): string { |
| 156 | return value |
| 157 | .replace(/[^a-zA-Z0-9._-]+/g, "-") |
| 158 | .replace(/^-+|-+$/g, "") |
| 159 | .slice(0, 80); |
| 160 | } |
| 161 | |
| 162 | async function git(args: string[], cwd: string): Promise<string> { |
| 163 | try { |
no outgoing calls
no test coverage detected