MCPcopy Create free account
hub / github.com/expo/eas-cli / makeBuildStepOutputByIdMap

Function makeBuildStepOutputByIdMap

packages/steps/src/BuildStepOutput.ts:95–103  ·  view source on GitHub ↗
(outputs?: BuildStepOutput[])

Source from the content-addressed store, hash-verified

93}
94
95export function makeBuildStepOutputByIdMap(outputs?: BuildStepOutput[]): BuildStepOutputById {
96 if (outputs === undefined) {
97 return {};
98 }
99 return outputs.reduce((acc, output) => {
100 acc[output.id] = output;
101 return acc;
102 }, {} as BuildStepOutputById);
103}

Callers 2

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…