Skip to content

Commit f411654

Browse files
committed
fix: lint
1 parent 45f64b5 commit f411654

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/as-sha256/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ export function digest64(data: Uint8Array): Uint8Array {
5656

5757
export function digest64Into(data: Uint8Array, output: Uint8Array): void {
5858
if (data.length !== 64) {
59-
throw new Error("InvalidLengthForDigest64, got" + data.length);
59+
throw new Error(`InvalidLengthForDigest64, got ${data.length}`);
6060
}
6161
if (output.length !== 32) {
62-
throw new Error("InvalidLengthForOutput32, got" + output.length);
62+
throw new Error(`InvalidLengthForOutput32, got ${output.length}`);
6363
}
6464

6565
inputUint8Array.set(data);

packages/persistent-merkle-tree/test/perf/hasher.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe("hasher", () => {
5151
}
5252
},
5353
runsFactor,
54-
})
54+
});
5555

5656
bench({
5757
id: `hashTwoObjects ${iterations} times - ${hasher.name}`,

0 commit comments

Comments
 (0)