summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 21140fa43..8c5294f00 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -652,9 +652,6 @@ func (c *commandeer) copyStaticTo(sourceFs *filesystems.SourceFilesystem) (uint6
syncer.ChmodFilter = chmodFilter
syncer.SrcFs = fs
syncer.DestFs = c.Fs.Destination
- if c.renderStaticToDisk {
- syncer.DestFs = c.Fs.DestinationStatic
- }
// Now that we are using a unionFs for the static directories
// We can effectively clean the publishDir on initial sync
syncer.Delete = c.Cfg.GetBool("cleanDestinationDir")