Fix jshint hint

This commit is contained in:
Raul Ochoa 2017-10-06 15:15:33 +02:00
parent 6c0e6210d6
commit 38c50e0bec

View File

@ -187,8 +187,8 @@ function validateResponse(response, expected) {
}
// @param tolerance number of tolerated grid cell differences
// jshint maxcomplexity:9
assert.utfgridEqualsFile = function(buffer, file_b, tolerance, callback) {
// jshint maxcomplexity:9
fs.writeFileSync('/tmp/grid.json', buffer, 'binary'); // <-- to debug/update
var expected_json = JSON.parse(fs.readFileSync(file_b, 'utf8'));