mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Linted
This commit is contained in:
parent
049ec52a95
commit
bd82b17310
@ -486,7 +486,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
vault = await this.keyringController.fullUpdate()
|
vault = await this.keyringController.fullUpdate()
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
let vault = await this.keyringController.createNewVaultAndKeychain(password)
|
vault = await this.keyringController.createNewVaultAndKeychain(password)
|
||||||
this.selectFirstIdentity(vault)
|
this.selectFirstIdentity(vault)
|
||||||
}
|
}
|
||||||
release()
|
release()
|
||||||
|
@ -77,7 +77,7 @@ module.exports = class NoticeController extends EventEmitter {
|
|||||||
return uniqBy(oldNotices.concat(newNotices), 'id')
|
return uniqBy(oldNotices.concat(newNotices), 'id')
|
||||||
}
|
}
|
||||||
|
|
||||||
_filterNotices( notices ) {
|
_filterNotices(notices) {
|
||||||
return notices.filter((newNotice) => {
|
return notices.filter((newNotice) => {
|
||||||
if ('version' in newNotice) {
|
if ('version' in newNotice) {
|
||||||
const satisfied = semver.satisfies(this.version, newNotice.version)
|
const satisfied = semver.satisfies(this.version, newNotice.version)
|
||||||
|
Loading…
Reference in New Issue
Block a user