mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
Fix variable declaration
This commit is contained in:
parent
e285f93c1b
commit
91fe923cf7
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ function execute() {
|
|||
const MetadataBlog = require("../core/MetadataBlog.js");
|
||||
const BlogPostLayout = require("../core/BlogPostLayout.js");
|
||||
|
||||
files = glob.sync(CWD + "/blog/**/*.*");
|
||||
let files = glob.sync(CWD + "/blog/**/*.*");
|
||||
files.sort().reverse().forEach(file => {
|
||||
const extension = path.extname(file);
|
||||
if (extension !== ".md" && extension !== ".markdown") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue