Merge pull request #1673 from steele/support-wsl1-azure-login

Support Azure login page on WSL 1
This commit is contained in:
Guillaume Tardif 2021-05-21 11:24:57 +02:00 committed by GitHub
commit 003d61f6c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func isWsl() bool {
return false
}
return strings.Contains(string(b), "microsoft")
return strings.Contains(strings.ToLower(string(b)), "microsoft")
}
func randomString(prefix string, length int) string {