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

Correctly resolve imports ending with "." and ".." #47850

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

andrewbranch
Copy link
Member

Fixes #45563

Apparently Node used to have buggy behavior with this, which we faithfully reproduced: #9690. Today (tested in Node 14), Andy’s tests log the same module (the one inside the directory) in every case.

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Feb 11, 2022
@andrewbranch andrewbranch merged commit 7f022c5 into microsoft:main Feb 11, 2022
@andrewbranch andrewbranch deleted the bug/45563 branch February 11, 2022 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

import from "." doesn't reference folder if folder and file have same name
3 participants