mirror of
https://framagit.org/framasoft/peertube/search-index/
synced 2024-12-24 00:21:05 +01:00
Fix lint
This commit is contained in:
parent
5a8b24c0fc
commit
de3c53069d
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user