mirror of https://github.com/embarklabs/embark.git
fix: node_modules should be part of hidden files
This commit is contained in:
parent
88a41e7c28
commit
0b530f308b
|
@ -106,7 +106,7 @@ class Pipeline {
|
|||
name,
|
||||
dirname: dir,
|
||||
path: path.join(dir, name),
|
||||
isHidden: name.indexOf('.') === 0,
|
||||
isHidden: (name.indexOf('.') === 0 || name === "node_modules"),
|
||||
children: utils.fileTreeSort(walk(path.join(dir, name), filelist))
|
||||
};
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ class Pipeline {
|
|||
isRoot,
|
||||
path: path.join(dir, name),
|
||||
dirname: dir,
|
||||
isHidden: name.indexOf('.') === 0
|
||||
isHidden: (name.indexOf('.') === 0 || name === "node_modules")
|
||||
};
|
||||
});
|
||||
const files = utils.fileTreeSort(walk(this.fs.dappPath()));
|
||||
|
|
Loading…
Reference in New Issue