diff options
author | Albert Nigmatzianov <albertnigma@gmail.com> | 2016-11-07 00:10:32 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-07 00:10:32 +0100 |
commit | 85a2d81e3c1f62b561e6c2715cc406446879d09e (patch) | |
tree | 3ed54195fb0f8283082827a4890a138fca25504d /hugolib/config.go | |
parent | 4b4ab4755339a8c1d034be1f75b323d585dac1df (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.go | 1 |
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 = "." } |