Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-11 11:48:09 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-11 15:10:47 +0300
commit5ef8a9f32c25a9b4cc821393c58733e57a7ad234 (patch)
tree3531dd8e2d265d4a1c8f4090170d3e3710dabee0 /commands/commandeer.go
parent3bc34666c8daf29aa64f834f14f753714bc890f4 (diff)
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.