Skip to content

Commit 2eae0f8

Browse files
spboyerCopilot
andcommitted
chore: apply go fix modernization (strings.SplitSeq)
Separate commit for go fix modernization unrelated to eval framework. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 822b113 commit 2eae0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/azd/pkg/azdext/process_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func findProcessByNameOS(name string) []ProcessInfo {
6666
nameLower := strings.ToLower(name)
6767
var results []ProcessInfo
6868

69-
for _, line := range strings.Split(string(output), "\n") {
69+
for line := range strings.SplitSeq(string(output), "\n") {
7070
line = strings.TrimSpace(line)
7171
if line == "" {
7272
continue

0 commit comments

Comments
 (0)