mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
Unexport the remaining vars in hugo command
This commit is contained in:
@@ -128,7 +128,7 @@ func server(cmd *cobra.Command, args []string) error {
|
||||
|
||||
viper.Set("port", serverPort)
|
||||
|
||||
BaseURL, err := fixURL(viper.GetString("BaseURL"))
|
||||
BaseURL, err := fixURL(baseURL)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -139,7 +139,7 @@ func server(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
// If a Destination is provided via flag write to disk
|
||||
if Destination != "" {
|
||||
if destination != "" {
|
||||
renderToDisk = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user