Merge pull request #3820 from strongloop/fix/eslint-issues

Fix formatting issues reported by recent eslint
This commit is contained in:
Miroslav Bajtoš 2018-03-16 13:32:19 +01:00 committed by GitHub
commit 6ddf268cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -749,9 +749,9 @@ module.exports = function(User) {
displayPort +
urlPath +
'?' + qs.stringify({
uid: '' + verifyOptions.user[pkName],
redirect: verifyOptions.redirect,
});
uid: '' + verifyOptions.user[pkName],
redirect: verifyOptions.redirect,
});
verifyOptions.to = verifyOptions.to || user.email;
verifyOptions.subject = verifyOptions.subject || g.f('Thanks for Registering');

View File

@ -43,10 +43,10 @@ Application.create(data, function(err, data) {
});
Application.register('rfeng', 'MyApp', {description: g.f('My first mobile application')},
function(err, result) {
console.log(result.toObject());
result.resetKeys(function(err, result) {
function(err, result) {
console.log(result.toObject());
result.resetKeys(function(err, result) {
console.log(result.toObject());
});
});
});

View File

@ -69,7 +69,7 @@
"cookie-parser": "^1.3.4",
"coveralls": "^2.11.15",
"dirty-chai": "^1.2.2",
"eslint": "^4.13.1",
"eslint": "^4.18.2",
"eslint-config-loopback": "^10.0.0",
"eslint-plugin-mocha": "^4.11.0",
"express-session": "^1.14.0",