You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 {
returnfunc() 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 ?
gh-dash/ui/modelUtils.go
Line 112 in 555c5d9
Screenshots

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: