(baseUrl: string, artifactId: string)
| 435 | } |
| 436 | |
| 437 | function buildDaemonArtifactUrl(baseUrl: string, artifactId: string): string { |
| 438 | const normalizedBase = baseUrl.endsWith('/') ? baseUrl : `${baseUrl}/`; |
| 439 | return new URL(`artifacts/${encodeURIComponent(artifactId)}`, normalizedBase).toString(); |
| 440 | } |
| 441 | |
| 442 | function isRemoteDaemon(info: DaemonArtifactEndpoint): boolean { |
| 443 | return typeof info.baseUrl === 'string' && info.baseUrl.length > 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…