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

rewrite path change patch to work with new API #1152

Merged
merged 1 commit into from
Nov 4, 2024
Merged

rewrite path change patch to work with new API #1152

merged 1 commit into from
Nov 4, 2024

Conversation

shiftkey
Copy link
Owner

Description

When desktop#19148 was merged, it took away the isGitRepository method that we used to validate the path.

This change refactors that code to use the new getRepositoryType method, and maps the result to the expected shape of this view.

This is probably a sign that we should try and refactor this original patch #317 to work within that code path (rather than keeping this in the component).

@shiftkey shiftkey marked this pull request as ready for review November 1, 2024 16:09
@shiftkey shiftkey merged commit e9a7598 into linux Nov 4, 2024
10 checks passed
@shiftkey shiftkey deleted the fix-ci branch November 4, 2024 13:52
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.

1 participant