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: shuttle should resolve file not found in root #210

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

kjuulh
Copy link
Contributor

@kjuulh kjuulh commented Jan 5, 2024

I'd missed a base case, because path.Dir should return an empty string for "/", it however returned "/", resulting in an endless recursive loop

This was fixed by comparing the projectPath to the new pathDir, if they are the same we terminate the recursive loop

@kjuulh kjuulh requested a review from a team as a code owner January 5, 2024 10:15
@github-actions github-actions bot added the patch label Jan 5, 2024
@kjuulh kjuulh merged commit 1fb5d5f into master Jan 5, 2024
2 checks passed
@kjuulh kjuulh deleted the fix/shuttle-should-resolve-not-found-in-root branch January 5, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants