From 219dab7e74d26e9b6959552b258878adb28aecc5 Mon Sep 17 00:00:00 2001 From: "Seraphim R.P" Date: Tue, 3 Aug 2021 15:11:12 -0400 Subject: [PATCH] Fix bug. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0ec795f..cb83e2f 100644 --- a/index.js +++ b/index.js @@ -44,7 +44,7 @@ async function setInstagramPosts() { } async function generateReadMe() { - await fs.readFileAsync(MUSTACHE_MAIN_DIR, (err, data) => { + await fs.readFile(MUSTACHE_MAIN_DIR, (err, data) => { if (err) throw err; const output = Mustache.render(data.toString(), DATA); fs.writeFileSync('README.md', output);