Activate lint staticcheck.

This commit is contained in:
jregan
2019-11-16 07:02:21 -08:00
parent 2326362fd2
commit 0924269e76
3 changed files with 3 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ func (rv *refVarTransformer) replaceVars(in interface{}) (interface{}, error) {
// This field can potentially contain a $(VAR) since it is
// of string type.
return expansion2.Expand(s, rv.mappingFunc), nil
//nolint:staticcheck (erroneously claims that `case nil` is unreachable)
case nil:
return nil, nil
default: