From 106be2dc6f90fd1340a8a164dea49cffb31eadd0 Mon Sep 17 00:00:00 2001 From: Olivia Briggs Date: Fri, 25 Nov 2022 22:17:20 -0500 Subject: [PATCH] Fix type error --- src/kle-parser.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/kle-parser.ts b/src/kle-parser.ts index 2fd2dd8..9ab2c79 100644 --- a/src/kle-parser.ts +++ b/src/kle-parser.ts @@ -429,9 +429,7 @@ export function kleLayoutToVIALayout(kle: KLELayout): VIALayout { colorCountKeys.sort((a, b) => colorCount[b] - colorCount[a]); if (colorCountKeys.length > 3) { throw new Error( - 'Please correct layout, too many colors:' + - '\n' + - inspect(colorCount, false, null, true) + 'Please correct layout, too many colors:' + '\n' + inspect(colorCount) ); }