From e8d347082633d68d92e9785fb87415c698f872ad Mon Sep 17 00:00:00 2001 From: blagoev Date: Tue, 14 Nov 2017 18:15:30 +0200 Subject: [PATCH] make eslint happy --- tests/js/download-api-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js/download-api-helper.js b/tests/js/download-api-helper.js index 81893a05..629c80f6 100644 --- a/tests/js/download-api-helper.js +++ b/tests/js/download-api-helper.js @@ -47,7 +47,7 @@ Realm.Sync.User.register('http://localhost:9080', username, 'password') return Realm.Sync.User.login('http://localhost:9080', username, 'password') }) .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}`); process.exit(-2); })