mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
Fixes to issues reported by eslint (#1313)
This commit is contained in:
parent
208aa8ee46
commit
8606d37141
@ -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) => {
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user