Fix bug.
This commit is contained in:
parent
7d3ed1259a
commit
219dab7e74
2
index.js
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user