changed unused let to const
This commit is contained in:
parent
4a3ec31bc7
commit
8ae9f393ae
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue