Skip to content

Commit

Permalink
chore: disable linting for env var split
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
  • Loading branch information
xvzf committed Nov 30, 2023
1 parent 4f7b20f commit 1918d08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kyaml/runfn/runfn.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ func (r RunFns) mergeExecEnv(envs []string) []string {

for _, env := range append(envs, r.Env...) {
res := strings.Split(env, "=")
//nolint:gomnd
if len(res) == 2 {
envMap[res[0]] = res[1]
}
Expand Down

0 comments on commit 1918d08

Please sign in to comment.