Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Fix #525 - safe/consistent .tsx file type checks #526

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

roblourens
Copy link
Member

@roblourens roblourens commented Oct 8, 2018

These are the only instances of file extension checks like that I see. Changed them to all use the AstUtils helper. This is a behavior change for NoFunctionExpressionRuleWalker, endsWith('tsx') vs endsWith('.tsx') but I think this way is right.

Fixes #525

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants