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

refactor: remove unused Resolved::Ok#kind #205

Merged
merged 3 commits into from
Jan 23, 2023

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Jan 23, 2023

It seems we never use this functionality and it is leading to extra complexity (that was confusing me when implementing node built-in specifiers because the "kind" it was listing on a dependency was incorrect). We can get the module kind by going to the module.

PR in the CLI can be seen here: denoland/deno#17504

Originally introduced by #97 -- but we have implemented node compat a different way

@dsherret dsherret requested a review from bartlomieju January 23, 2023 20:19
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM! It was also always confusing to me, glad to see this complexity removed.

@dsherret dsherret merged commit 1001af2 into denoland:main Jan 23, 2023
@dsherret dsherret deleted the remove_unused_module_kind branch January 23, 2023 22:48
dsherret added a commit to denoland/deno that referenced this pull request Jan 24, 2023
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