cmd/ghcs/delete: I learnt about strings.EqualFold - thanks, linter!
This commit is contained in:
parent
5af1cccb73
commit
28a3644a07
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ func DeleteByRepo(repo string) error {
|
|||
|
||||
var deleted bool
|
||||
for _, c := range codespaces {
|
||||
if strings.ToLower(c.RepositoryNWO) != strings.ToLower(repo) {
|
||||
if !strings.EqualFold(c.RepositoryNWO, repo) {
|
||||
continue
|
||||
}
|
||||
deleted = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue