Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

file-name-matches-element: Fix case of missing name #58

Merged
merged 2 commits into from
Apr 9, 2023

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented Apr 8, 2023

Fix parsing of anonymous class expression, ignore it if no name can be derived.

Fixes: #57

@primer-css
Copy link

👋 Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

  • 🎨 If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
  • If this is a PR that includes changes to an interaction, please include a video recording in the description.
  • ⚠️ If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.

Copy link
Contributor

@keithamus keithamus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

@keithamus keithamus merged commit 837fb4d into github:main Apr 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file-name-matches-element: TypeError: Cannot read properties of null (reading 'name')
3 participants