make eslint happy

This commit is contained in:
blagoev 2017-11-14 18:15:30 +02:00
parent 9ccf305a99
commit e8d3470826
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ Realm.Sync.User.register('http://localhost:9080', username, 'password')
return Realm.Sync.User.login('http://localhost:9080', username, 'password') return Realm.Sync.User.login('http://localhost:9080', username, 'password')
}) })
.catch((error) => { .catch((error) => {
const loginError = JSON.stringify(err); const loginError = JSON.stringify(error);
console.error(`download-api-helper failed:\n User.register() error:\n${registrationError}\n User.login() error:\n${registrationError}`); console.error(`download-api-helper failed:\n User.register() error:\n${registrationError}\n User.login() error:\n${registrationError}`);
process.exit(-2); process.exit(-2);
}) })