Upgrade Prettier

This commit is contained in:
Ken Powers 2020-01-08 12:44:54 -05:00 committed by Scott Nonnenberg
parent d14c8e2277
commit 0d3b390129
57 changed files with 1074 additions and 1574 deletions

View file

@ -396,7 +396,7 @@ function getRandomValue(low, high) {
// Because high and low are inclusive
const mod = diff + 1;
return bytes[0] % mod + low;
return (bytes[0] % mod) + low;
}
function getZeroes(n) {
@ -454,9 +454,7 @@ function splitBytes(buffer, ...lengths) {
if (total !== buffer.byteLength) {
throw new Error(
`Requested lengths total ${total} does not match source total ${
buffer.byteLength
}`
`Requested lengths total ${total} does not match source total ${buffer.byteLength}`
);
}

View file

@ -37,6 +37,7 @@ function _getString(thing) {
return thing;
}
// prettier-ignore
function _b64ToUint6(nChr) {
return nChr > 64 && nChr < 91
? nChr - 65