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-08 19:43:48 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-08 21:27:54 +0300
commit63bb2a5b18193602fd442ebafdc85bc36fe05ad2 (patch)
treec1d767d3d7b753da563e2d0e86b7972b62beab5c /commands/commandeer.go
parent7d8011ed63d587b87a7c182748914fe146590093 (diff)
Some minor adjustments to the new static filesystem logic
Closes #9625
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r--commands/commandeer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index 07181f244..7525bf184 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -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.