Fix sorting of source code actions being reversed

Fixes #73344
This commit is contained in:
Matt Bierner
2019-05-30 11:25:52 -07:00
parent 8cd962e841
commit 483e48d875

View File

@@ -270,10 +270,10 @@ class CodeActionOnSaveParticipant implements ISaveParticipant {
if (CodeActionKind.SourceFixAll.contains(b)) {
return 0;
}
return 1;
return -1;
}
if (CodeActionKind.SourceFixAll.contains(b)) {
return -1;
return 1;
}
return 0;
});