Skip to content

Commit

Permalink
Remove Algolia early return
Browse files Browse the repository at this point in the history
  • Loading branch information
ProchaLu committed Dec 12, 2023
1 parent fd2a44f commit 2652244
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ export default async function noDependenciesWithoutTypes() {
const dependenciesWithMissingTypes = await pReduce(
Object.keys(projectPackageJson.dependencies || {}),
async (filteredDependencies: [string, string][], dependency: string) => {
// Return early here because:
// - Algolia reports "ObjectID does not exist" for `@upleveled/react-scripts`
// - `@upleveled/react-scripts` has no types to install
if (dependency === '@upleveled/react-scripts') {
return filteredDependencies;
}

try {
const packageJsonPath = require.resolve(`${dependency}/package.json`);

Expand Down

0 comments on commit 2652244

Please sign in to comment.