make jshint happy

This commit is contained in:
Simon Martín 2017-11-07 11:17:32 +01:00
parent cda9a09b8e
commit 1ea4fc50c9

View File

@ -1,6 +1,9 @@
const fs = require('fs');
const timeoutErrorVectorTile = fs.readFileSync(__dirname + '/../../../assets/render-timeout-fallback.mvt', {encoding: null});
const timeoutErrorVectorTile = fs.readFileSync(
__dirname + '/../../../assets/render-timeout-fallback.mvt',
{ encoding: null }
);
module.exports = function vectorError() {
return function vectorErrorMiddleware(err, req, res, next) {
@ -13,8 +16,8 @@ module.exports = function vectorError() {
}
next(err);
}
}
};
};
function isRenderTimeoutError (err) {