diff --git a/build/getFolderNames.js b/build/getFolderNames.js index 55bba8fe..beba4410 100644 --- a/build/getFolderNames.js +++ b/build/getFolderNames.js @@ -4,7 +4,7 @@ const { join } = require('path'); export const getSubDirectoryNames = (root) => { return readdirSync(root) .filter(name => { - let fullPath = join(root, name); + const fullPath = join(root, name); return lstatSync(fullPath).isDirectory(); }); };