We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81d40f commit 3a24dccCopy full SHA for 3a24dcc
src/providers/file.ts
@@ -1158,7 +1158,7 @@ export class CoreFileProvider {
1158
do {
1159
newName = fileNameWithoutExtension + '(' + num + ')' + extension;
1160
num++;
1161
- } while (typeof files[newName] != 'undefined');
+ } while (typeof files[newName.toLowerCase()] != 'undefined');
1162
1163
// Ask the user what he wants to do.
1164
return newName;
0 commit comments