Skip to content

Commit

Permalink
fix: Create correct folder when trying to import content
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Bryxí authored and mansona committed Apr 27, 2021
1 parent 5bd2a95 commit 69d5a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ${author.bio}`)
}

if(data.content) {
ensureFolder('author');
ensureFolder('content');

data.content.forEach((content) => {
writeFileSync(`content/${content.id}.md`, `---
Expand Down

0 comments on commit 69d5a84

Please sign in to comment.