pankod/refine

View on GitHub
packages/devtools-server/src/packages/get-installed-package-json-path.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getInstalledPackageJSONPath has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getInstalledPackageJSONPath = async (packageName: string) => {
  try {
    const filesFromGlobbySearch = await globby(
      `node_modules/${packageName}/package.json`,
      {

    There are no issues that match your filters.

    Category
    Status