Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed linter warning
  • Loading branch information
cmaglie committed May 12, 2025
commit f49fe0a67049721b5e9b5dc171e879249d6fab44
5 changes: 2 additions & 3 deletions internal/integrationtest/arduino-cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"errors"
"fmt"
"io"
"maps"
"os"
"runtime"
"strings"
Expand Down Expand Up @@ -199,9 +200,7 @@ func (cli *ArduinoCLI) RunWithContext(ctx context.Context, args ...string) ([]by
// GetDefaultEnv returns a copy of the default execution env used with the Run method.
func (cli *ArduinoCLI) GetDefaultEnv() map[string]string {
res := map[string]string{}
for k, v := range cli.cliEnvVars {
res[k] = v
}
maps.Copy(res, cli.cliEnvVars)
return res
}

Expand Down