]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
resources: Remove debug statement
authorJoe Mooring <joe.mooring@veriphor.com>
Thu, 30 Jan 2025 08:22:49 +0000 (00:22 -0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 30 Jan 2025 10:32:57 +0000 (11:32 +0100)
Closes #13320

resources/resource_transformers/cssjs/tailwindcss_integration_test.go
resources/transform.go

index c0d6d3dff45e901f1237ce1b2c83db1e173c338b..ae70042a08c7831db29a08937a12b053be17612e 100644 (file)
@@ -36,8 +36,8 @@ func TestTailwindV4Basic(t *testing.T) {
     "url": "https://github.com/bep/hugo-starter-tailwind-basic.git"
   },
   "devDependencies": {
-    "@tailwindcss/cli": "^4.0.0-alpha.26",
-    "tailwindcss": "^4.0.0-alpha.26"
+    "@tailwindcss/cli": "^4.0.1",
+    "tailwindcss": "^4.0.1"
   },
   "name": "hugo-starter-tailwind-basic",
   "version": "0.1.0"
@@ -68,5 +68,5 @@ CSS: {{ $css.Content | safeCSS }}|
                        LogLevel:        logg.LevelInfo,
                }).Build()
 
-       b.AssertFileContent("public/index.html", "/*! tailwindcss v4.0.0")
+       b.AssertFileContent("public/index.html", "/*! tailwindcss v4.")
 }
index 73f3b85d25dfd50d20f74241ccf38971546e1a8b..abb55f3ccdd0ee932e85efcc68dbadd329cc5acd 100644 (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)