MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / addCandidate

Function addCandidate

packages/lint/src/project.ts:125–127  ·  view source on GitHub ↗
(candidates: string[], candidate: string)

Source from the content-addressed store, hash-verified

123}
124
125function addCandidate(candidates: string[], candidate: string): void {
126 if (!candidates.includes(candidate)) candidates.push(candidate);
127}
128
129function resolveLocalAssetCandidates(projectDir: string, url: string): string[] {
130 const cleanUrl = cleanAssetUrl(url);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected