Final lint fixes

This commit is contained in:
Samuel Crypto 2018-10-11 18:10:13 -04:00
parent 2a78aceac6
commit 7f252c75b8
2 changed files with 4 additions and 2 deletions

View file

@ -50,6 +50,8 @@ const backgroundLogic = {
//We cannot yet access the new cookieStoreId via this.cookieStoreId(...), so we take this from the resolved promise
donePromise.then((identity) => {
window.proxifiedContainers.set(identity.cookieStoreId, options.proxy);
}).catch(() => {
//Empty because this should never happen theoretically.
});
}
await donePromise;

View file

@ -2,7 +2,7 @@
if (!("toJSON" in Error.prototype))
Object.defineProperty(Error.prototype, "toJSON", {
value: function() {
let alt = {};
const alt = {};
Object.getOwnPropertyNames(this).forEach(function(key) {
alt[key] = this[key];