mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 09:52:10 -05:00
parent
e917401c71
commit
8d92042ab9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func New(fs *filesystems.SourceFilesystem, rs *resources.Spec) (*Client, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !hugo.IsDartSassGeV2() {
|
if !hugo.IsDartSassGeV2() {
|
||||||
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")
|
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := rs.ExecHelper.Sec().CheckAllowedExec(hugo.DartSassBinaryName); err != nil {
|
if err := rs.ExecHelper.Sec().CheckAllowedExec(hugo.DartSassBinaryName); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue