mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 19:52:30 +02:00
Fix typos and linter warnings
This commit is contained in:
@@ -426,11 +426,7 @@ func transformImage(ctx context.Context, img **C.struct__VipsImage, data []byte,
|
||||
}
|
||||
}
|
||||
|
||||
if err = vipsFixColourspace(img); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return vipsFixColourspace(img)
|
||||
}
|
||||
|
||||
func transformGif(ctx context.Context, img **C.struct__VipsImage, po *processingOptions) error {
|
||||
|
Reference in New Issue
Block a user