use string comparison

This commit is contained in:
william-allspice 2024-08-30 10:06:38 -05:00
parent 1bbf675cee
commit 6e53b9aca5

View File

@ -198,7 +198,7 @@ func (te *TreeEntry) GetPathInRepo() string {
return ""
}
for _, entry := range entries {
if entry.ID == current.ID {
if entry.ID.String() == current.ID.String() {
path = entry.Name() + "/" + path
break
}