aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/mod.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mod.go')
-rw-r--r--commands/mod.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/mod.go b/commands/mod.go
index b390d1e75..c6870e1d2 100644
--- a/commands/mod.go
+++ b/commands/mod.go
@@ -91,7 +91,6 @@ Also note that if you configure a positive maxAge for the "modules" file cache,
}
func (b *commandsBuilder) newModCmd() *modCmd {
-
c := &modCmd{}
const commonUsage = `
@@ -264,7 +263,6 @@ If a module is vendored, that is where Hugo will look for it's dependencies.
c.baseBuilderCmd = b.newBuilderCmd(cmd)
return c
-
}
func (c *modCmd) withModsClient(failOnMissingConfig bool, f func(*modules.Client) error) error {