(value: string)
| 60 | } |
| 61 | |
| 62 | function isLikelyStarterUrlOrPath(value: string) { |
| 63 | return ( |
| 64 | /^https?:\/\//i.test(value) || |
| 65 | /^file:\/\//i.test(value) || |
| 66 | value.startsWith('./') || |
| 67 | value.startsWith('../') || |
| 68 | value.startsWith('/') || |
| 69 | /^[a-zA-Z]:[\\/]/.test(value) |
| 70 | ) |
| 71 | } |
| 72 | |
| 73 | function getStarterIdsFromUrl(starterUrl: string) { |
| 74 | const ids = new Set<string>() |
no test coverage detected