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

Function findFilePath

packages/cli-v3/src/utilities/configFiles.ts:103–113  ·  view source on GitHub ↗
(dir: string, fileName: string)

Source from the content-addressed store, hash-verified

101}
102
103async function findFilePath(dir: string, fileName: string): Promise<string | undefined> {
104 const result = await findUp([fileName], { cwd: dir });
105
106 logger.debug("Searched for the file", {
107 dir,
108 fileName,
109 result,
110 });
111
112 return result;
113}
114
115export type ReadConfigOptions = {
116 projectRef?: string;

Callers 1

resolveConfigFunction · 0.85

Calls 1

debugMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…