We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 750c731 + a38beeb commit 5b8d4b3Copy full SHA for 5b8d4b3
Content/Scripts/editor.js
@@ -11,7 +11,7 @@
11
function read_dir(dir) {
12
let out = Root.ReadDirectory(dir)
13
if (out.$) {
14
- let items = _.filter(out.OutItems,(item) => !item.bIsDirectory && /extension[^\.]*\.js$/.test(item.Name))
+ let items = _.filter(out.OutItems,(item) => !item.bIsDirectory && /^((?!node_modules).)*$/.test(item.Name) && /extension[^\.]*\.js$/.test(item.Name))
15
extensions = extensions.concat(items.map((item) => item.Name.substr(root_path.length+1)))
16
out.OutItems.forEach((item) => {
17
if (item.bIsDirectory) {
@@ -31,8 +31,6 @@
31
console.error(String(e))
32
return function () {}
33
}
34
-
35
- return function () {}
36
37
38
function main() {
0 commit comments