Skip to content

Commit

Permalink
fix: make lint happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
zong-zhe committed Jul 19, 2023
1 parent b73e533 commit b0ca12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mod/modfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (dep *Dependency) FillDepInfo() error {
if dep.Source.Oci != nil {
settings := settings.GetSettings()
if settings.ErrorEvent != nil {
return *&settings.ErrorEvent
return settings.ErrorEvent
}
dep.Source.Oci.Reg = settings.DefaultOciRegistry()
urlpath, err := url.JoinPath(settings.DefaultOciRepo(), dep.Name)
Expand Down

0 comments on commit b0ca12a

Please sign in to comment.