Skip to content

Commit

Permalink
Compact logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Feb 9, 2024
1 parent 78e6d4f commit 2f7cdcd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions internal/runner/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ func (rs *RunnerSettings) ApplyProjectEnvs() error {
return nil
}

projEnvs, err := rs.project.LoadEnv()
if err != nil {
return err
if projEnvs, err := rs.project.LoadEnv(); err == nil {
rs.envs = append(rs.envs, projEnvs...)
}
rs.envs = append(rs.envs, projEnvs...)

return nil
}
Expand Down

0 comments on commit 2f7cdcd

Please sign in to comment.