From 515599079236c78bbb4689cad5a77cfc47466bce Mon Sep 17 00:00:00 2001 From: JuneKim Date: Wed, 23 Oct 2019 14:51:07 +0900 Subject: [PATCH] fix typo fix typo from 'getDirectores' -> 'getDirectories' --- utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();