Fixes to issues reported by eslint (#1313)

This commit is contained in:
Kenneth Geisshirt 2017-09-14 10:35:02 +02:00 committed by GitHub
parent 208aa8ee46
commit 8606d37141
2 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ module.exports = function(realmConstructor) {
realmConstructor._waitForDownload(config, realmConstructor._waitForDownload(config,
(syncSession) => { (syncSession) => {
if (progressCallback) { if (progressCallback) {
syncSession.addProgressNotification('download', 'forCurrentlyOutstandingWork', progressCallback);; syncSession.addProgressNotification('download', 'forCurrentlyOutstandingWork', progressCallback);
} }
}, },
(error) => { (error) => {

View File

@ -99,7 +99,7 @@ function runOutOfProcess(nodeJsFilePath) {
} }
catch (e) { catch (e) {
reject(e); reject(e);
}; }
}); });
} }
@ -564,7 +564,7 @@ module.exports = {
}); });
}, },
testProgressNotificationsForRealmOpen() { testProgressNotificationsForRealmOpen2() {
if (!isNodeProccess) { if (!isNodeProccess) {
return Promise.resolve(); return Promise.resolve();
} }
@ -603,7 +603,7 @@ module.exports = {
}); });
}, },
testProgressNotificationsForRealmOpenAsync() { testProgressNotificationsForRealmOpenAsync2() {
if (!isNodeProccess) { if (!isNodeProccess) {
return Promise.resolve(); return Promise.resolve();
} }