Skip to content

rewrite path change patch to work with new API - #1152

Merged
shiftkey merged 1 commit into
linuxfrom
fix-ci
Nov 4, 2024
Merged

rewrite path change patch to work with new API#1152
shiftkey merged 1 commit into
linuxfrom
fix-ci

Conversation

@shiftkey

Copy link
Copy Markdown
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 this pull request into linux Nov 4, 2024
@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