From de3c53069dd0cec8813e1cec2c03038cb7e29eed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 23 Feb 2022 16:46:16 +0100 Subject: [PATCH] Fix lint --- package.json | 2 +- server/lib/indexers/shared/abstract-indexer.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index ae0332c..2ba868d 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "tsc": "tsc", "eslint": "eslint", - "lint": "eslint --ext .ts \"server/**/*.ts\"", + "lint": "eslint --ext .ts \"server/**/*.ts\" && cd client && npm run lint", "build": "rm -rf dist && tsc && cp -r themes dist/ && cd ./client && npm run build", "postinstall": "cd client/ && yarn install --pure-lockfile", "start": "node dist/server.js", diff --git a/server/lib/indexers/shared/abstract-indexer.ts b/server/lib/indexers/shared/abstract-indexer.ts index 3176f98..8dcbf5d 100644 --- a/server/lib/indexers/shared/abstract-indexer.ts +++ b/server/lib/indexers/shared/abstract-indexer.ts @@ -4,7 +4,6 @@ import { logger } from '../../../helpers/logger' import { INDEXER_QUEUE_CONCURRENCY } from '../../../initializers/constants' import { buildIndex, indexDocuments, refreshIndex } from '../../../lib/elastic-search/elastic-search-index' import { removeFromHosts, removeNotExistingIdsFromHost } from '../../../lib/elastic-search/elastic-search-queries' -import { buildVideosMapping } from '../../../lib/elastic-search/elastic-search-videos' import { IndexableDoc } from '../../../types/indexable-doc.model' // identifier could be an uuid, an handle or a url for example