Skip to content

Commit 8d92042

Browse files
committed
dartsass: Fix error message
Closes #13065
1 parent e917401 commit 8d92042

File tree

1 file changed

+1
-1
lines changed
  • resources/resource_transformers/tocss/dartsass

1 file changed

+1
-1
lines changed

resources/resource_transformers/tocss/dartsass/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func New(fs *filesystems.SourceFilesystem, rs *resources.Spec) (*Client, error)
5252
}
5353

5454
if !hugo.IsDartSassGeV2() {
55-
return nil, fmt.Errorf("unsupported Dart Sass version detected, please upgrade to Dart Sass 2.0 or later, see https://gohugo.io/functions/css/sass/#dart-sass")
55+
return nil, fmt.Errorf("unsupported Dart Sass version detected, please upgrade to Dart Sass 1.63.0 or later, see https://gohugo.io/functions/css/sass/#dart-sass")
5656
}
5757

5858
if err := rs.ExecHelper.Sec().CheckAllowedExec(hugo.DartSassBinaryName); err != nil {

0 commit comments

Comments
 (0)