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(generate:typetests): Resolve symlinks to previous versions #22494

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

tylerbutler
Copy link
Member

The previous version types path is a symlink or junction, and without resolving them to a real path, the module resolution in ts-morph was wrong, and was picking up local packages.

This change ensures we resolve the symlink/junction before we add the SourceFile to ts-morph.

@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Sep 13, 2024
@tylerbutler tylerbutler merged commit 90991c9 into microsoft:main Sep 13, 2024
29 checks passed
@tylerbutler tylerbutler deleted the bt-typetest-symlinks branch September 13, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants