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 4ebff94 + 2b7b34d commit a69b45bCopy full SHA for a69b45b
dev/tools/grunt/tools/collect-validation-files.js
@@ -47,6 +47,8 @@ module.exports = {
47
},
48
49
getFiles: function (file) {
50
+ var files;
51
+
52
if (file) {
53
return file.split(',');
54
}
@@ -55,6 +57,11 @@ module.exports = {
55
57
fst.write(pc.static.tmp, this.getFilesForValidate());
56
58
59
- return fst.getData(pc.static.tmp);
60
+ files = fst.getData(pc.static.tmp);
61
+ if (files.length === 1 && files[0] === '') {
62
+ files = [];
63
+ }
64
65
+ return files;
66
67
};
0 commit comments