diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-14 16:02:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-04-08 13:26:17 +0200 |
commit | b08193971a821fc27e549a73120c15e5e5186775 (patch) | |
tree | 6ac8ca23671e5d668d861ff0d19d7b9be6021401 /commands/commandeer.go | |
parent | 0a56f2af4e1969e76e94fdfb56d1bbed0e685625 (diff) |
Revert "Revert "Some minor adjustments to the new static filesystem logic""
This reverts commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234.
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r-- | commands/commandeer.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go index 6f74bf864..ced149e7a 100644 --- a/commands/commandeer.go +++ b/commands/commandeer.go @@ -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. |