MCPcopy Create free account
hub / github.com/appium/appium / throwPackageRootNotFound

Function throwPackageRootNotFound

packages/docutils/lib/utils/package-json.ts:75–77  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

73}
74
75function throwPackageRootNotFound(dir: string): never {
76 throw new Error(`Could not find \`package.json\` from ${dir}`);
77}
78
79function getPackagePath(cwd?: string): string {
80 return path.resolve(cwd ?? process.cwd(), 'package.json');

Callers 2

findPackageRootFunction · 0.85
findPackageRootSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected