ESlint keyword-spacing, no-multi-spaces

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:52:56 -07:00
parent a5a3f3089a
commit 604358ecc4
116 changed files with 210 additions and 210 deletions

View File

@@ -89,7 +89,7 @@ widgets.getAreas = function (templates, locations, callback) {
if (data && data[index] && data[index][location]) {
try {
returnData[template][location] = JSON.parse(data[index][location]);
} catch(err) {
} catch (err) {
winston.error('can not parse widget data. template: ' + template + ' location: ' + location);
returnData[template][location] = [];
}
@@ -113,7 +113,7 @@ widgets.getArea = function (template, location, callback) {
}
try {
result = JSON.parse(result);
} catch(err) {
} catch (err) {
return callback(err);
}