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: normalize path when finding file_id in file_ids_map #279

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

Millione
Copy link
Member

Motivation

Previously, using local thrift files to generate code in workspace mode panicked when finding file_id in file_ids_map with an unnormalised path.

Solution

This PR fixes it by using a normalised path.

@Millione Millione requested review from a team as code owners October 28, 2024 12:19
@Millione Millione merged commit 9aca81f into cloudwego:main Oct 28, 2024
9 checks passed
@Millione Millione deleted the normalize-file-path-in-workspace branch October 28, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants