Speech as a package - export components #401
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ const { join } = require('path');
|
|||
![]() nice nice
![]() I would use I would use `const` if you aren't changing anything
![]() nice nice
|
||||
export const getSubDirectoryNames = (root) => {
|
||||
return readdirSync(root)
|
||||
.filter(name => {
|
||||
let fullPath = join(root, name);
|
||||
![]() I would use I would use `const` if you aren't changing anything
![]() nice nice
|
||||
const fullPath = join(root, name);
|
||||
![]() I would use I would use `const` if you aren't changing anything
![]() nice nice
|
||||
return lstatSync(fullPath).isDirectory();
|
||||
});
|
||||
};
|
||||
|
|
|||
![]() I would use I would use `const` if you aren't changing anything
![]() nice nice
![]() I would use I would use `const` if you aren't changing anything
![]() nice nice
|
Loading…
Add table
Reference in a new issue
I would use
const
if you aren't changing anything