Revert "Revert "Some minor adjustments to the new static filesystem logic""

This reverts commit 5ef8a9f32c.
This commit is contained in:
Bjørn Erik Pedersen
2022-03-14 16:02:06 +01:00
parent 0a56f2af4e
commit b08193971a
2 changed files with 4 additions and 3 deletions

View File

@@ -419,8 +419,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.