MCPcopy Create free account
hub / github.com/Snapchat/Valdi / makeTargetDescription

Function makeTargetDescription

npm_modules/cli/src/commands/projectsync.ts:183–194  ·  view source on GitHub ↗
(label: BazelLabel)

Source from the content-addressed store, hash-verified

181 }
182 }
183
184 if (missingLabels.size > 0) {
185 const targets = [...missingLabels.values()]
186 .sort((a, b) => a.toString().localeCompare(b.toString()))
187 .map(label => `${label.toBuildableString()}_projectsync`);
188 const newProjectSyncOutputs = await buildProjectSyncs(client, workspaceInfo.workspaceRoot, targets);
189 await syncPathsByLabel(client, workspaceInfo, pathsByLabel, newProjectSyncOutputs);
190 }
191}
192
193async function collectTsConfigDirs(
194 bazel: BazelClient,
195 workspaceInfo: BazelWorkspaceInfo,
196 projectSyncOutputs: readonly ProjectSyncOutput[],
197): Promise<TsConfigDir[]> {

Callers 1

collectTsConfigDirsFunction · 0.85

Calls 2

toStringMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected