From: Matt Corallo Date: Fri, 22 Jul 2022 18:08:49 +0000 (+0000) Subject: [TS] Add missing space in array length error string X-Git-Tag: v0.0.110.0~1^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ed535f1747aa72309166e74a0fcb232536d9515b;p=ldk-java [TS] Add missing space in array length error string --- diff --git a/typescript_strings.py b/typescript_strings.py index 5ae728f9..0d303642 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -191,7 +191,7 @@ export function encodeUint64Array (inputArray: BigUint64Array|Array): nu /* @internal */ export function check_arr_len(arr: Uint8Array, len: number): Uint8Array { - if (arr.length != len) { throw new Error("Expected array of length " + len + "got " + arr.length); } + if (arr.length != len) { throw new Error("Expected array of length " + len + " got " + arr.length); } return arr; }