MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / findupPath

Function findupPath

lib/models/project.js:779–786  ·  view source on GitHub ↗
(pathName)

Source from the content-addressed store, hash-verified

777}
778
779function findupPath(pathName) {
780 let pkgPath = findUpSync('package.json', { cwd: pathName });
781 if (!pkgPath) {
782 throw new NotFoundError(`No project found at or up from: \`${pathName}\``);
783 }
784
785 return path.dirname(pkgPath);
786}
787
788function isEmberCliProject(pkg) {
789 return (

Callers 1

closestSyncMethod · 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…