mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
commands, tpl: Get rid of repeating viper accesses
* all: Delete some blank lines * commands, tpl: Get rid of repeating viper accesses
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4b4ab47553
commit
85a2d81e3c
@@ -22,7 +22,6 @@ import (
|
||||
|
||||
// LoadGlobalConfig loads Hugo configuration into the global Viper.
|
||||
func LoadGlobalConfig(relativeSourcePath, configFilename string) error {
|
||||
|
||||
if relativeSourcePath == "" {
|
||||
relativeSourcePath = "."
|
||||
}
|
||||
|
Reference in New Issue
Block a user