mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-11-12 16:21:25 +00:00
43e56cc58a
The processing of pkg/directives/patch.go will return an error type but handeling of it was attempting to use JSON encoding to print to screen. There is no reason to use that since the `error` type only has a string in it but doesn't get marshalled properly to json due to the private variables. This is also the only time json marshaling is used so instead covert the error handling to just `fmt.Printf`. |
||
---|---|---|
.. | ||
add.go | ||
delete.go | ||
directives.go | ||
lookaside.go | ||
patch.go | ||
replace.go | ||
spec_change.go |