Skip to content

Commit bc19a41

Browse files
committed
Do not default windows path
1 parent 0865fcc commit bc19a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/system/path.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const DefaultPathEnvUnix = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/s
1616
// DefaultPathEnvWindows is windows style list of directories to search for
1717
// executables. Each directory is separated from the next by a colon
1818
// ';' character .
19-
const DefaultPathEnvWindows = "c:\\Windows\\System32;c:\\Windows"
19+
const DefaultPathEnvWindows = ""
2020

2121
func DefaultPathEnv(os string) string {
2222
if os == "windows" {

0 commit comments

Comments
 (0)