Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit e45720b

Browse files
committed
updated index.js
1 parent 45c8611 commit e45720b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const isDirectory = source => lstatSync(source).isDirectory();
2020
const isActiveModule = source => !source.includes('_');
2121

2222
//function return "c" from "a/b/c"
23-
const getShortDirName = source => source.slice(source.lastIndexOf(path.sep) + 1, source.length);
23+
const getShortDirName = source => (source.slice(source.lastIndexOf(path.sep) + 1, source.length)).toLowerCase();
2424

2525
//function return short names for all active modules from folder with modules
2626
const getModules = source =>

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"files": {
3-
"index.js": "a7c63e56d78c870c2b14c00eb26130b4d20a860907b91c7c823cff514ede4cdd",
3+
"index.js": "093a7341b63a664a6cb17f861dd424fcfaf23f212eb041cdbdb167c732ab5a46",
44
"LICENSE": "53927bd0b739d38c87a0a82236fd9b070c2dfff11c0c119be50372005d5047ad",
55
"module.json": "8e73f7575ee71a68f91647c386adf75df8d4c4a24ccc8f7627bfc76291f28a34",
66
"package.json": "36a402d8fd02464deba0c986205aba993fd2b1c958bec0f2068da51b26edabba",

0 commit comments

Comments
 (0)