summaryrefslogtreecommitdiffstats
path: root/commands/mod_npm.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mod_npm.go')
-rw-r--r--commands/mod_npm.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/mod_npm.go b/commands/mod_npm.go
index a73908e7a..852d98571 100644
--- a/commands/mod_npm.go
+++ b/commands/mod_npm.go
@@ -20,7 +20,6 @@ import (
)
func newModNPMCmd(c *modCmd) *cobra.Command {
-
cmd := &cobra.Command{
Use: "npm",
Short: "Various npm helpers.",
@@ -47,7 +46,6 @@ removed from Hugo, but we need to test this out in "real life" to get a feel of
so this may/will change in future versions of Hugo.
`,
RunE: func(cmd *cobra.Command, args []string) error {
-
return c.withHugo(func(h *hugolib.HugoSites) error {
return npm.Pack(h.BaseFs.SourceFs, h.BaseFs.Assets.Dirs)
})