diff --git a/utils.js b/utils.js index 9abcfe4..0f7376e 100644 --- a/utils.js +++ b/utils.js @@ -51,7 +51,7 @@ class SidebarUtils { }) }; // ディレクトリ一覧の取得 - getDirectores (workingdir) { + getDirectories (workingdir) { // root配下のファイル&ディレクトリ一覧取得 return fs.readdirSync(workingdir).filter((childdir) => { // .vuepressのみ除外 @@ -95,4 +95,4 @@ class SidebarUtils { return fs.existsSync(targetpath) && fs.statSync(targetpath).isDirectory(); }; } -module.exports = new SidebarUtils(); \ No newline at end of file +module.exports = new SidebarUtils();