chore(dev): Fix linter warnings in sites/dev
This commit is contained in:
parent
1c95f8ed34
commit
00179cfeea
2 changed files with 3 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue