diff --git a/lib/boot/load/tymly-loader/load-dir.js b/lib/boot/load/tymly-loader/load-dir.js
index <HASH>..<HASH> 100644
--- a/lib/boot/load/tymly-loader/load-dir.js
+++ b/lib/boot/load/tymly-loader/load-dir.js
@@ -28,7 +28,6 @@ module.exports = function loadDir (rootDir, allComponents, options) {
   })
 
   const rootComponents = {}
-  let componentDir
 
   componentDirs.forEach(
     function (componentTypeDir) {
@@ -37,7 +36,7 @@ module.exports = function loadDir (rootDir, allComponents, options) {
         rootComponents[componentTypeName] = {}
       }
       if (componentTypeDir[0] !== '.' && COMPONENT_DIR_BLACKLIST.indexOf(componentTypeName) === -1) {
-        componentDir = path.join(rootDir, componentTypeDir)
+        const componentDir = path.join(rootDir, componentTypeDir)
         const dirContent = fs.readdirSync(componentDir)
         dirContent.forEach(
           function (filename) {
refactor: Move componentDir declaration into the loop