MCPcopy
hub / github.com/electron/forge / getTargetKey

Function getTargetKey

packages/api/core/src/api/package.ts:279–280  ·  view source on GitHub ↗
(target: TargetDefinition)

Source from the content-addressed store, hash-verified

277 async (childTrace, ctx, task) => {
278 const { calculatedOutDir, forgeConfig, packageJSON } = ctx;
279 const getTargetKey = (target: TargetDefinition) =>
280 `${target.platform}/${target.arch}`;
281
282 task.output = 'Determining targets...';
283

Callers 3

signalDoneFunction · 0.85
addSignalAndWaitFunction · 0.85
listrPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected