Skip to content

Commit

Permalink
Add comment regarding possible future checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Dec 13, 2024
1 parent f000aa6 commit ffbbb93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ const validateIcon = async (path: string, iconName: string): Promise<IconValidit
throw new Error(`Expect icon dimensions to be 18x18, found ${width}x${height}`);
}

// TODO: accessibility checks? E.g. each icon should have an accessible name.

return { isValid: true };
} catch (error: unknown) {
const message = error instanceof Error ? error.message : `Unknown error (${JSON.stringify(error)})`;
Expand Down

0 comments on commit ffbbb93

Please sign in to comment.