Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
olivia committed Nov 26, 2022
1 parent 6326f77 commit 106be2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kle-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}

Expand Down

0 comments on commit 106be2d

Please sign in to comment.