1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

Fix eslint error

This commit is contained in:
Vishal Banthia 2016-02-03 14:28:07 +09:00
parent e3fce92704
commit 0fa080d5cb

View file

@ -45,7 +45,8 @@ module.exports = function(options) {
if (user.name === options.mock.basicAuth.username && if (user.name === options.mock.basicAuth.username &&
user.pass === options.mock.basicAuth.password) { user.pass === options.mock.basicAuth.password) {
return next() return next()
} else { }
else {
return unauthorized(res) return unauthorized(res)
} }
} }