mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
@@ -69,7 +69,7 @@ type Client struct {
|
||||
transpiler *godartsass.Transpiler
|
||||
}
|
||||
|
||||
func (c *Client) ToCSS(res resources.ResourceTransformer, args map[string]interface{}) (resource.Resource, error) {
|
||||
func (c *Client) ToCSS(res resources.ResourceTransformer, args map[string]any) (resource.Resource, error) {
|
||||
if c.dartSassNotAvailable {
|
||||
return res.Transform(resources.NewFeatureNotAvailableTransformer(transformationName, args))
|
||||
}
|
||||
@@ -123,7 +123,7 @@ type Options struct {
|
||||
EnableSourceMap bool
|
||||
}
|
||||
|
||||
func decodeOptions(m map[string]interface{}) (opts Options, err error) {
|
||||
func decodeOptions(m map[string]any) (opts Options, err error) {
|
||||
if m == nil {
|
||||
return
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ func Supports() bool {
|
||||
}
|
||||
|
||||
type transform struct {
|
||||
optsm map[string]interface{}
|
||||
optsm map[string]any
|
||||
c *Client
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user