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

findExports doesn't find multiple variable declaration in sindle export declaration #211

Closed
cawa-93 opened this issue Dec 30, 2023 · 0 comments

Comments

@cawa-93
Copy link
Contributor

cawa-93 commented Dec 30, 2023

Environment

node.js

Reproduction

Code:

findExports('export const foo = 1, bar = 2;')

Describe the bug

Return only first variable declaration foo and ignore bar

Additional context

No response

Logs

No response

@pi0 pi0 closed this as completed in b853ca4 Jan 11, 2024
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

No branches or pull requests

1 participant