MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / normalizeConfig

Function normalizeConfig

packages/cli-v3/src/utilities/configFiles.ts:248–258  ·  view source on GitHub ↗
(config: any, overrides?: Record<string, any>)

Source from the content-addressed store, hash-verified

246}
247
248export async function normalizeConfig(config: any, overrides?: Record<string, any>): Promise<any> {
249 let normalized = config;
250
251 if (typeof config === "function") {
252 normalized = await config();
253 }
254
255 normalized = { ...normalized, ...overrides };
256
257 return normalized;
258}

Callers 1

readConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…