mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
chore: naming consistency
This commit is contained in:
parent
5eab627340
commit
c132c7445f
11 changed files with 62 additions and 56 deletions
|
@ -6,13 +6,13 @@ async function loadPages(pagesDir) {
|
|||
cwd: pagesDir
|
||||
});
|
||||
|
||||
const pagesMetadata = await Promise.all(
|
||||
const pagesMetadatas = await Promise.all(
|
||||
pagesFiles.map(async source => ({
|
||||
path: encodePath(fileToPath(source)),
|
||||
source
|
||||
}))
|
||||
);
|
||||
return pagesMetadata;
|
||||
return pagesMetadatas;
|
||||
}
|
||||
|
||||
module.exports = loadPages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue