(version: string)
| 108 | * because it could cause ambiguity when both PyPy version and Python version are not precise |
| 109 | */ |
| 110 | export function validatePythonVersionFormatForPyPy(version: string) { |
| 111 | const re = /^\d+\.\d+$/; |
| 112 | return re.test(version); |
| 113 | } |
| 114 | |
| 115 | export function isGhes(): boolean { |
| 116 | const ghUrl = new URL( |
no outgoing calls
no test coverage detected