Skip to content
/ hugo Public
forked from gohugoio/hugo

Commit ccba336

Browse files
committed
resources: Remove debug statement
Closes gohugoio#13320
1 parent 6c68142 commit ccba336

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

resources/resource_transformers/cssjs/tailwindcss_integration_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ func TestTailwindV4Basic(t *testing.T) {
3636
"url": "https://github.com/bep/hugo-starter-tailwind-basic.git"
3737
},
3838
"devDependencies": {
39-
"@tailwindcss/cli": "^4.0.0-alpha.26",
40-
"tailwindcss": "^4.0.0-alpha.26"
39+
"@tailwindcss/cli": "^4.0.1",
40+
"tailwindcss": "^4.0.1"
4141
},
4242
"name": "hugo-starter-tailwind-basic",
4343
"version": "0.1.0"
@@ -68,5 +68,5 @@ CSS: {{ $css.Content | safeCSS }}|
6868
LogLevel: logg.LevelInfo,
6969
}).Build()
7070

71-
b.AssertFileContent("public/index.html", "/*! tailwindcss v4.0.0")
71+
b.AssertFileContent("public/index.html", "/*! tailwindcss v4.")
7272
}

resources/transform.go

-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ func (r *resourceAdapter) getImageOps() images.ImageResourceOps {
388388
if r.MediaType().SubType == "svg" {
389389
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 }}")
390390
}
391-
fmt.Println(r.MediaType().SubType)
392391
panic("this method is only available for image resources")
393392
}
394393
r.init(false, false)

0 commit comments

Comments
 (0)