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

Commit 8275ad8

Browse files
committed
fk JS
1 parent 07076a3 commit 8275ad8

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
@@ -17,7 +17,7 @@ const sysmsg = require('tera-data-parser').sysmsg,
1717
const isDirectory = source => lstatSync(source).isDirectory();
1818

1919
//filter "module without _" or "." => true
20-
const isActiveModule = source => !source[0] === '_' || !source[0] === '.';
20+
const isActiveModule = source => !source[0].includes('_');
2121

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

manifest.json

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

0 commit comments

Comments
 (0)