Skip to content

Commit bf51460

Browse files
MaddyDevbpasero
andauthored
check lowercase value on validExtensions (microsoft#158319)
* check lowercase value on validExtensions * do not use local lowercase Co-authored-by: Benjamin Pasero <[email protected]>
1 parent dd0ed93 commit bf51460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/protocol/electron-main/protocolMainService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class ProtocolMainService extends Disposable implements IProtocolMainServ
100100
}
101101

102102
// then check by validExtensions
103-
if (this.validExtensions.has(extname(path))) {
103+
if (this.validExtensions.has(extname(path).toLowerCase())) {
104104
return callback({ path });
105105
}
106106

0 commit comments

Comments
 (0)