loadRootPath
loadRootPath(
fileName,cwd?):string
Defined in: loadRootPath.ts:21
Walks up from cwd (default process.cwd()) for the nearest ancestor directory containing fileName.
Parameters
Section titled “Parameters”fileName
Section titled “fileName”string
string
Returns
Section titled “Returns”string