Describe the bug
The repoName should lower down along side withthe given path
because TheAuthor/repo1 seems not equal to Theauthor/repo1,
which is not true because those two redirect to the same project
on github.
To Reproduce
Steps to reproduce the behavior:
Just set a repo name in the repoPath section with MAJ or MIN, dash will crash when you try to run a custom command saying the path for the given repo is not available.
Expected behavior
Should not crash an resolve the repo(path and name) even with upper or lower cases + more details on the error maybe ?
if !ok {
return func() tea.Msg {
return constants.ErrMsg{Err: fmt.Errorf(
"Failed to find local path for repo %s from path: '%s'",
repoName, repoPath,
)}
}
}
Describe the bug The repoName should lower down along side withthe given path because TheAuthor/repo1 seems not equal to Theauthor/repo1, which is not true because those two redirect to the same project on github.
To Reproduce Steps to reproduce the behavior:
repoPath
section with MAJ or MIN, dash will crash when you try to run a custom command saying the path for the given repo is not available.Expected behavior Should not crash an resolve the repo(path and name) even with upper or lower cases + more details on the error maybe ?
https://github.com/dlvhdr/gh-dash/blob/555c5d9f5671b8fdf77a2dca9056ef8a8e86a316/ui/modelUtils.go#L112
Screenshots
Desktop (please complete the following information):