mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
Extensions list in issue reporter should be sorted in a case insensitive way, fixes #48614
This commit is contained in:
@@ -800,11 +800,13 @@ export class IssueReporter extends Disposable {
|
||||
|
||||
// Sort extensions by name
|
||||
extensionOptions.sort((a, b) => {
|
||||
if (a.name > b.name) {
|
||||
const aName = a.name.toLowerCase();
|
||||
const bName = b.name.toLowerCase();
|
||||
if (aName > bName) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (a.name < b.name) {
|
||||
if (aName < bName) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user