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