Fix up lint errors

This commit is contained in:
Colby Gutierrez-Kraybill 2017-11-30 11:30:45 -05:00
parent 66edcb60a8
commit 785667691e

View file

@ -42,10 +42,6 @@ async.auto({
// on any of those route conditions.
var notPassStatement = fastlyConfig.getAppRouteCondition('../build/*', routes, extraAppRoutes, __dirname);
// For all the routes in routes.json, construct a varnish-style regex that matches
// only if NONE of those routes are matched.
var passStatement = fastlyConfig.negateConditionStatement(notPassStatement);
// For a non-pass condition, point backend at s3
var recvCondition = '' +
'if (' + notPassStatement + ') {\n' +