packages/devtools-server/src/packages/get-installed-package-json-path.ts
Function getInstalledPackageJSONPath
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getInstalledPackageJSONPath = async (packageName: string) => {
try {
const filesFromGlobbySearch = await globby(
`node_modules/${packageName}/package.json`,
{