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

This reverts commit 63bb2a5b18.
This commit is contained in:
Bjørn Erik Pedersen 2022-03-11 09:48:09 +01:00
parent 3bc34666c8
commit 5ef8a9f32c
2 changed files with 3 additions and 4 deletions

View file

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