summaryrefslogtreecommitdiffstats
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorAlbert Nigmatzianov <albertnigma@gmail.com>2016-11-07 00:10:32 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-07 00:10:32 +0100
commit85a2d81e3c1f62b561e6c2715cc406446879d09e (patch)
tree3ed54195fb0f8283082827a4890a138fca25504d /hugolib/config.go
parent4b4ab4755339a8c1d034be1f75b323d585dac1df (diff)
commands, tpl: Get rid of repeating viper accesses
* all: Delete some blank lines * commands, tpl: Get rid of repeating viper accesses
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index 94477b75a..e6d28051e 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -22,7 +22,6 @@ import (
// LoadGlobalConfig loads Hugo configuration into the global Viper.
func LoadGlobalConfig(relativeSourcePath, configFilename string) error {
-
if relativeSourcePath == "" {
relativeSourcePath = "."
}