[MM-54465] Remove lowercase call when checking path names (#2831)

This commit is contained in:
Devin Binnie
2023-09-15 10:20:28 -04:00
committed by GitHub
parent ce1447591d
commit 128d15a283
4 changed files with 4 additions and 9 deletions

View File

@@ -201,7 +201,7 @@ export function validateV0ConfigData(data: ConfigV0) {
function cleanURL(url: string): string {
let updatedURL = url;
if (updatedURL.includes('\\')) {
updatedURL = updatedURL.toLowerCase().replace(/\\/gi, '/');
updatedURL = updatedURL.replace(/\\/gi, '/');
}
return updatedURL;
}