Skip to content

Commit

Permalink
Update env_tomap_windows.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jun 26, 2023
1 parent 154c534 commit 370229e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion env_tomap_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ func toMap(env []string) map[string]string {
p[0] = "=" + p[0]
}

r[p[0]] = p[1]
if len(p) == 2 {
r[p[0]] = p[1]
}
}
return r
}

0 comments on commit 370229e

Please sign in to comment.