We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f97832 commit 68cc092Copy full SHA for 68cc092
uri.go
@@ -54,9 +54,6 @@ func (uri DocumentURI) unbox() string {
54
// Converts `"C:"` to `"c:"` to be compatible with VS Code URI's drive letter casing
55
// https://github.com/Microsoft/vscode/issues/68325#issuecomment-462239992
56
func lowercaseDriveSegment(pathSegment string) string {
57
- if len(pathSegment) == 0 {
58
- return pathSegment
59
- }
60
if expUppercaseDriveID.MatchString(pathSegment) {
61
chars := []rune(pathSegment)
62
chars[0] = unicode.ToLower(chars[0])
0 commit comments