chore: run modernize (#24356)
This commit is contained in:
+2
-2
@@ -122,5 +122,5 @@ func (d buildDep) String() string {
|
||||
return fmt.Sprintf("%s@%s", d.Path, d.Version)
|
||||
}
|
||||
|
||||
func (d buildDep) MarshalJSON() ([]byte, error) { return json.Marshal(d.String()) }
|
||||
func (d buildDep) MarshalYAML() (interface{}, error) { return d.String(), nil }
|
||||
func (d buildDep) MarshalJSON() ([]byte, error) { return json.Marshal(d.String()) }
|
||||
func (d buildDep) MarshalYAML() (any, error) { return d.String(), nil }
|
||||
|
||||
Reference in New Issue
Block a user