Skip to content

Commit d88c626

Browse files
author
Vitaly Bevzik
committed
Add .json file as allowed
1 parent 65d2c08 commit d88c626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function getFilesFromDisk(subdir) {
99
var filesOnDisk = [];
1010

1111
// Only iterate through supported .js, .gs and .html files in dir
12-
dir.readFiles(subdir, { match: /.js$|.gs$|.html$/ },
12+
dir.readFiles(subdir, { match: /.js$|.gs$|.json$|.html$/ },
1313
// Invoke this callback on each file
1414
function(err, content, filename, next) {
1515
if (err) return reject(err);

0 commit comments

Comments
 (0)