Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 003d61f

Browse files
authored
Merge pull request #1673 from steele/support-wsl1-azure-login
Support Azure login page on WSL 1
2 parents 93a3392 + cac6bd4 commit 003d61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aci/login/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func isWsl() bool {
122122
return false
123123
}
124124

125-
return strings.Contains(string(b), "microsoft")
125+
return strings.Contains(strings.ToLower(string(b)), "microsoft")
126126
}
127127

128128
func randomString(prefix string, length int) string {

0 commit comments

Comments
 (0)