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 import lodash/last bug #1

Merged
merged 1 commit into from
Jun 26, 2021
Merged

Conversation

axelhzf
Copy link
Contributor

@axelhzf axelhzf commented Jun 22, 2021

There was a problem trying to import last

import { last } from 'lodash';

The problem was the condition for checking if the import was an alias. It was checking .includes('as') (which is true for last) instead of .includes(' as ')

@josteph josteph merged commit e91dff2 into josteph:main Jun 26, 2021
@josteph
Copy link
Owner

josteph commented Jun 26, 2021

I have released v1.0.4, thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants