mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
Fix NPX issue with TailwindCSS v4
This allows the `tailwindcss` CLI binary to live in the `PATH` for NPM-less projects. Fixes #13221
This commit is contained in:
parent
f024a5050e
commit
cfa0801815
9 changed files with 94 additions and 25 deletions
|
@ -729,7 +729,7 @@ func (s *IntegrationTestBuilder) initBuilder() error {
|
|||
sc := security.DefaultConfig
|
||||
sc.Exec.Allow, err = security.NewWhitelist("npm")
|
||||
s.Assert(err, qt.IsNil)
|
||||
ex := hexec.New(sc, s.Cfg.WorkingDir)
|
||||
ex := hexec.New(sc, s.Cfg.WorkingDir, loggers.NewDefault())
|
||||
command, err := ex.New("npm", "install")
|
||||
s.Assert(err, qt.IsNil)
|
||||
s.Assert(command.Run(), qt.IsNil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue