mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 14:40:43 +03:00
all: Propagate baseURL error to the callers
This commit is contained in:
parent
148fedd227
commit
15b64d51da
18 changed files with 124 additions and 47 deletions
|
@ -106,7 +106,10 @@ func server(cmd *cobra.Command, args []string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
c := newCommandeer(cfg)
|
||||
c, err := newCommandeer(cfg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if flagChanged(cmd.Flags(), "disableLiveReload") {
|
||||
c.Set("disableLiveReload", disableLiveReload)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue