Skip to content

fix(ts-autocomplete): fallback directoryExists to true, not false #558

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

lerouxb
Copy link
Collaborator

@lerouxb lerouxb commented Jul 3, 2025

No description provided.

// Fallback to true so that it will use the first directory it checks and
// then try and load that file at which point we'll strip the prefix and
// service up the right file from codeHolder.
return fallbackServiceHost?.directoryExists?.(...args) ?? true;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In tests we provide a fallbackServiceHost, so it just worked..

@lerouxb lerouxb merged commit 24a1e5e into main Jul 3, 2025
30 checks passed
@lerouxb lerouxb deleted the fallback-to-true branch July 3, 2025 11:30
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.

3 participants