changed unused let to const

This commit is contained in:
bill bittner 2018-03-21 22:06:35 -07:00
parent 4a3ec31bc7
commit 8ae9f393ae

View file

@ -4,7 +4,7 @@ const { join } = require('path');
export const getSubDirectoryNames = (root) => { export const getSubDirectoryNames = (root) => {
return readdirSync(root) return readdirSync(root)
.filter(name => { .filter(name => {
let fullPath = join(root, name); const fullPath = join(root, name);
return lstatSync(fullPath).isDirectory(); return lstatSync(fullPath).isDirectory();
}); });
}; };