Skip to content

Commit d175ade

Browse files
MAGETWO-71619: Js static test don't verify all files
1 parent 905c28f commit d175ade

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/tools/grunt/tools/collect-validation-files.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module.exports = {
2727
},
2828

2929
getFilesForValidate: function () {
30-
3130
var blackListFiles = glob.sync(pc.static.blacklist + '*.txt'),
3231
whiteListFiles = glob.sync(pc.static.whitelist + '*.txt'),
3332
blackList = this.readFiles(blackListFiles),

dev/tools/grunt/tools/fs-tools.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ module.exports = {
2626
read: function (filePath) {
2727
console.log('Collect data from ' + filePath + ': Start!');
2828

29-
return glob.sync(filePath);
29+
return glob.sync(filePath, {
30+
symlinks: true
31+
});
3032
},
3133

3234
arrayRead: function (pathArr, callback) {

0 commit comments

Comments
 (0)