Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbozhenko committed Aug 16, 2024
1 parent ad9dafc commit 9236b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/godoc/dochtml/dochtml.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func versionedPkgPath(pkgPath string, modInfo *ModuleInfo) string {
return fmt.Sprintf("%s@%s", pkgPath, tag)
}

if modInfo == nil || (!modInfo.ModulePackages[pkgPath]) {
if modInfo == nil || !modInfo.ModulePackages[pkgPath] {
return pkgPath
}

Expand Down

0 comments on commit 9236b0f

Please sign in to comment.