diff options
Diffstat (limited to 'commands/static_syncer.go')
-rw-r--r-- | commands/static_syncer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/static_syncer.go b/commands/static_syncer.go index 1e73e7fc2..237453868 100644 --- a/commands/static_syncer.go +++ b/commands/static_syncer.go @@ -105,10 +105,10 @@ func (s *staticSyncer) syncsStaticEvents(staticEvents []fsnotify.Event) error { logger.Println("Syncing", relPath, "to", publishDir) if err := syncer.Sync(filepath.Join(publishDir, relPath), relPath); err != nil { - c.Logger.ERROR.Println(err) + c.logger.ERROR.Println(err) } } else { - c.Logger.ERROR.Println(err) + c.logger.ERROR.Println(err) } continue @@ -117,7 +117,7 @@ func (s *staticSyncer) syncsStaticEvents(staticEvents []fsnotify.Event) error { // For all other event operations Hugo will sync static. logger.Println("Syncing", relPath, "to", publishDir) if err := syncer.Sync(filepath.Join(publishDir, relPath), relPath); err != nil { - c.Logger.ERROR.Println(err) + c.logger.ERROR.Println(err) } } |