aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-06-25 15:03:27 +0200
committerBjørn Erik Pedersen <[email protected]>2024-06-25 15:04:07 +0200
commit16e4662b7d3a96e9d1c0e8980fc0b0c52ed0e7e6 (patch)
tree5843ab388794f85075a462783428848a0c9b4fe8 /modules
parentb187c0658e51ff562f2748908816cd582732ad2b (diff)
downloadhugo-16e4662b7d3a96e9d1c0e8980fc0b0c52ed0e7e6.tar.gz
hugo-16e4662b7d3a96e9d1c0e8980fc0b0c52ed0e7e6.zip
modules: Remove newly introduced "mount source" does not exist warning
Diffstat (limited to 'modules')
-rw-r--r--modules/collect.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/collect.go b/modules/collect.go
index 0e59ede19..cfb6d9249 100644
--- a/modules/collect.go
+++ b/modules/collect.go
@@ -676,7 +676,8 @@ func (c *collector) normalizeMounts(owner *moduleAdapter, mounts []Mount) ([]Mou
}
f.Close()
} else {
- c.logger.Warnf("module %q: mount source %q does not exist", owner.Path(), sourceDir)
+ // TODO(bep) commenting out for now, as this will create to much noise.
+ // c.logger.Warnf("module %q: mount source %q does not exist", owner.Path(), sourceDir)
continue
}
}