From 02c16a3b524b040abd24172a129089226ff0ed8c Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Thu, 15 Aug 2024 18:38:24 +0200 Subject: [PATCH] Fix missing parenthesis --- src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts b/src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts index 0a0e7aba..59003801 100644 --- a/src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts +++ b/src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts @@ -67,7 +67,7 @@ export default async function noDependenciesWithoutTypes() { indexName: 'npm-search', objectID: dependency, attributesToRetrieve: ['types'], - )) as AlgoliaObj; + })) as AlgoliaObj; } catch (error) { // Show dependency name if Algolia's `client.getObject()` throws with an // error message (such as the error message "ObjectID does not exist"