Skip to content

Commit

Permalink
catch a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Feb 14, 2024
1 parent c76ef32 commit 1cf97cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/ColorLint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export class ColorLint<CheckData, ParamType> {
checkData: CheckData;
palette: Palette;
message: string = "";
config: { val?: ParamType } = {};
isCustom: false | string = false;
group: string = "";
description: string = "";
Expand Down
4 changes: 2 additions & 2 deletions src/lib/api-calls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ export function lint(pal: Palette) {
type: "run-lint",
content: JSON.stringify({
...pal,
background: pal.background.toHex(),
colors: pal.colors.map((x) => x.toHex()),
background: pal.background.toString(),
colors: pal.colors.map((x) => x.toString()),
}),
}).then((x) => {
return x as unknown as any[];
Expand Down

0 comments on commit 1cf97cc

Please sign in to comment.