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

Fix autofixer when dots are present in dependency name #238

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Conversation

bmish
Copy link
Owner

@bmish bmish commented Oct 12, 2021

  • Escapes dots in dependency names when passing to edit-json-file to avoid screwing up package.json structure
  • Add tests

Inspired by #229.

Fixes #228.

@bmish bmish added the bug Something isn't working label Oct 12, 2021
@bmish bmish merged commit 1c02be0 into master Oct 12, 2021
@bmish bmish deleted the autofixer-dots branch October 12, 2021 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running --fix with package names containing periods results in invalid package.json entry
1 participant