Skip to content

Commit

Permalink
fix: incorrect error message when sub-helmfiles-only state missing env
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Jun 19, 2019
1 parent 65818cd commit add1325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (a *App) visitStates(fileOrDir string, defOpts LoadOpts, converge func(*sta
case *state.StateLoadError:
switch stateLoadErr.Cause.(type) {
case *state.UndefinedEnvError:
return nil
return stateLoadErr
default:
return ctx.wrapErrs(err)
}
Expand Down

0 comments on commit add1325

Please sign in to comment.