chore: fix lint & type
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// convert csv to json
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import url from 'url'
|
||||
import consola from 'consola'
|
||||
import url from "url";
|
||||
import type { Recipe, RecipeItem } from '~/types'
|
||||
import { generateEmojisFromStuff } from '~/utils'
|
||||
|
||||
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
||||
const __dirname = url.fileURLToPath(new URL('.', import.meta.url))
|
||||
const recipeCsvFile = path.resolve(__dirname, '../src/data/recipe.csv')
|
||||
const recipeJsonFile = path.resolve(__dirname, '../src/data/recipe.json')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user