(selection: ModelSelection)
| 381 | } |
| 382 | |
| 383 | function modelSelectionKey(selection: ModelSelection) { |
| 384 | const params = [...(selection.params ?? [])] |
| 385 | .sort((left, right) => left.id.localeCompare(right.id)) |
| 386 | .map((param) => `${param.id}=${param.value}`) |
| 387 | .join("&") |
| 388 | |
| 389 | return params ? `${selection.id}?${params}` : selection.id |
| 390 | } |
| 391 | |
| 392 | function detectCloudRepository(cwd: string): CloudRepository { |
| 393 | const remote = runGit(cwd, ["config", "--get", "remote.origin.url"]) |
no outgoing calls
no test coverage detected