Skip to content

Commit

Permalink
nit: remove unneeded assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jun 12, 2023
1 parent 4e14334 commit 7040925
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/config/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ func (cmd *Cmd) scriptFile(inp string) (r io.Reader) {
// process all the exported variables in the script
exports := []string{} // we collect them all here to pass as setenv to the next command
elems := strings.Split(inp, "\n")
for _, el := range elems {
c := el
for _, c := range elems {
if len(c) < 2 {
continue
}
Expand Down

0 comments on commit 7040925

Please sign in to comment.