resources: Remove debug statement

Closes #13320
This commit is contained in:
Joe Mooring
2025-01-30 00:22:49 -08:00
committed by Bjørn Erik Pedersen
parent 6c68142cc1
commit 33b46d8a41
2 changed files with 3 additions and 4 deletions

View File

@@ -388,7 +388,6 @@ func (r *resourceAdapter) getImageOps() images.ImageResourceOps {
if r.MediaType().SubType == "svg" {
panic("this method is only available for raster images. To determine if an image is SVG, you can do {{ if eq .MediaType.SubType \"svg\" }}{{ end }}")
}
fmt.Println(r.MediaType().SubType)
panic("this method is only available for image resources")
}
r.init(false, false)