aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/commandeer.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-03-11 09:48:09 +0100
committerBjørn Erik Pedersen <[email protected]>2022-03-11 13:10:47 +0100
commit5ef8a9f32c25a9b4cc821393c58733e57a7ad234 (patch)
tree3531dd8e2d265d4a1c8f4090170d3e3710dabee0 /commands/commandeer.go
parent3bc34666c8daf29aa64f834f14f753714bc890f4 (diff)
downloadhugo-5ef8a9f32c25a9b4cc821393c58733e57a7ad234.tar.gz
hugo-5ef8a9f32c25a9b4cc821393c58733e57a7ad234.zip
Revert "Some minor adjustments to the new static filesystem logic"
This reverts commit 63bb2a5b18193602fd442ebafdc85bc36fe05ad2.
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r--commands/commandeer.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index 7525bf184..07181f244 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -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.