Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve icon builder validation closes #6555 #6556

Merged
merged 4 commits into from
Jul 27, 2020

Conversation

vpicone
Copy link
Contributor

@vpicone vpicone commented Jul 24, 2020

Closes #6555 closes #6559

whoop we caught a live one!

Issue: #6559 (CI run)

Description

Currently when an icon/pictogram fails validation, rely on joi's error.annotate() which prints out the entirety of our dataset without really pointing to the problem.

Changelog

New

  • Increased specificity of aliases property to exclude null values
  • Enhanced error logging when validation fails

Before

Screen Shot 2020-07-24 at 4 34 20 PM

After

Screen Shot 2020-07-24 at 4 35 10 PM

@vpicone vpicone requested a review from a team as a code owner July 24, 2020 21:33
@netlify
Copy link

netlify bot commented Jul 24, 2020

Deploy preview for carbon-elements ready!

Built with commit c67f6f9

https://deploy-preview-6556--carbon-elements.netlify.app

@vpicone vpicone requested a review from joshblack July 24, 2020 21:50
@netlify
Copy link

netlify bot commented Jul 24, 2020

Deploy preview for carbon-components-react ready!

Built with commit c67f6f9

https://deploy-preview-6556--carbon-components-react.netlify.app

@kodiakhq kodiakhq bot merged commit fa022be into carbon-design-system:master Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pictograms: ice cream still broken [icon-build-helpers]: improve error reporting
3 participants