Thanks to visit codestin.com Credit goes to github.com
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 2750392 + 34e07fa commit 9ee53c9Copy full SHA for 9ee53c9
devtools/test_dashboard/server.js
@@ -72,7 +72,11 @@ function readFiles(files) {
72
}
73
74
function createMocksList(files) {
75
- var mocksList = files.map(function(file) {
+
76
+ // eliminate pollutants (e.g .DS_Store) that can accumulate in the mock directory
77
+ var jsonFiles = files.filter(function(file) {return file.extname === '.json';});
78
79
+ var mocksList = jsonFiles.map(function(file) {
80
var contents = JSON.parse(file.contents);
81
82
// get plot type keywords from mocks
0 commit comments