Some minor adjustments to the new static filesystem logic

Closes #9625
This commit is contained in:
Bjørn Erik Pedersen
2022-03-08 17:43:48 +01:00
parent 7d8011ed63
commit 63bb2a5b18
2 changed files with 4 additions and 3 deletions

View File

@@ -412,8 +412,9 @@ func (c *commandeer) loadConfig() error {
}
if c.Cfg.GetBool("logPathWarnings") {
// Note that we only care about the "dynamic creates" here,
// so skip the static fs.
fs.Destination = hugofs.NewCreateCountingFs(fs.Destination)
fs.DestinationStatic = hugofs.NewCreateCountingFs(fs.DestinationStatic)
}
// To debug hard-to-find path issues.