Fix a bunch of linting errors
eslint --fix and a few manual ones
This commit is contained in:
parent
4ba224aac3
commit
18d4d3392a
107 changed files with 290 additions and 290 deletions
|
@ -25,4 +25,4 @@ export function formatCount(count) {
|
|||
if (count < 10000000) return (count / 1000000).toFixed(1) + "M";
|
||||
if (count < 100000000) return (count / 1000000).toFixed(0) + "M";
|
||||
return (count / 1000000000).toFixed(1) + "B"; // 10B is enough for anyone, right? :S
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ export function decryptMegolmKeyFile(data, password) {
|
|||
toVerify,
|
||||
).then((isValid) => {
|
||||
if (!isValid) {
|
||||
throw new Error('Authentication check failed: incorrect password?')
|
||||
throw new Error('Authentication check failed: incorrect password?');
|
||||
}
|
||||
|
||||
return subtleCrypto.decrypt(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue