diff --git a/plugins/cook/db/index.js b/plugins/cook/db/index.js index 74ce904..7afa963 100644 --- a/plugins/cook/db/index.js +++ b/plugins/cook/db/index.js @@ -5,7 +5,7 @@ let recipeData; let loaded = false; function parser() { - csv = createParser(); + const csv = createParser(); return new Promise((r, j) => { csv.parserFile('./recipe.csv', function (err, data) { if (err) {