all: Propagate baseURL error to the callers

This commit is contained in:
Bjørn Erik Pedersen 2017-03-25 14:37:04 +01:00
parent 148fedd227
commit 15b64d51da
18 changed files with 124 additions and 47 deletions

View file

@ -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)