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);