From 0fa080d5cbc27e3564dabd9c75fbc21e6b512db9 Mon Sep 17 00:00:00 2001 From: Vishal Banthia Date: Wed, 3 Feb 2016 14:28:07 +0900 Subject: [PATCH] Fix eslint error --- lib/units/auth/mock.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/units/auth/mock.js b/lib/units/auth/mock.js index 00597442..21ff14b8 100644 --- a/lib/units/auth/mock.js +++ b/lib/units/auth/mock.js @@ -45,7 +45,8 @@ module.exports = function(options) { if (user.name === options.mock.basicAuth.username && user.pass === options.mock.basicAuth.password) { return next() - } else { + } + else { return unauthorized(res) } }