1
0
Fork 0

chore(dev): Fix linter warnings in sites/dev

This commit is contained in:
joostdecock 2023-05-19 16:40:15 +02:00
parent 1c95f8ed34
commit 00179cfeea
2 changed files with 3 additions and 9 deletions

View file

@ -14,7 +14,6 @@ import fs from 'fs'
import path from 'path'
import algoliasearch from 'algoliasearch'
import { unified } from 'unified'
import { remark } from 'remark'
import { visit } from 'unist-util-visit'
import remarkParser from 'remark-parse'
import remarkCompiler from 'remark-stringify'
@ -98,7 +97,7 @@ const indexMarkdownContent = async () => {
const run = async () => {
if (process.env.VERCEL_ENV === 'production' || process.env.FORCE_ALGOLIA) {
console.log()
//await clearIndex()
await clearIndex()
await indexMarkdownContent()
console.log()
} else {