summaryrefslogtreecommitdiffhomepage
path: root/commands/check.go
diff options
context:
space:
mode:
authorspf13 <[email protected]>2014-04-05 01:26:43 -0400
committerspf13 <[email protected]>2014-04-05 01:40:33 -0400
commit62dd1d45c12193ac5ad95a4f491dfcdbcad7be7a (patch)
tree61507c28471e249a4f0930cafda6e9cfd422bd86 /commands/check.go
parenta01056b98a55b527d5a7cf2d973729eb9c25a1f4 (diff)
downloadhugo-62dd1d45c12193ac5ad95a4f491dfcdbcad7be7a.tar.gz
hugo-62dd1d45c12193ac5ad95a4f491dfcdbcad7be7a.zip
Hugo config abstracted into a general purpose config library called "Viper".
Hugo casting now in own library called "cast"
Diffstat (limited to 'commands/check.go')
-rw-r--r--commands/check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/check.go b/commands/check.go
index 6ce8b8177..ee5a6d5d8 100644
--- a/commands/check.go
+++ b/commands/check.go
@@ -25,7 +25,7 @@ var check = &cobra.Command{
content provided and will give feedback.`,
Run: func(cmd *cobra.Command, args []string) {
InitializeConfig()
- site := hugolib.Site{Config: *Config}
+ site := hugolib.Site{}
site.Analyze()
},
}