Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Fix typo in utils.js #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class SidebarUtils {
})
};
// ディレクトリ一覧の取得
getDirectores (workingdir) {
getDirectories (workingdir) {
// root配下のファイル&ディレクトリ一覧取得
return fs.readdirSync(workingdir).filter((childdir) => {
// .vuepressのみ除外
Expand Down Expand Up @@ -95,4 +95,4 @@ class SidebarUtils {
return fs.existsSync(targetpath) && fs.statSync(targetpath).isDirectory();
};
}
module.exports = new SidebarUtils();
module.exports = new SidebarUtils();