File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
extensions/ql-vscode/src/model-editor/methods-usage Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,7 @@ export class MethodsUsageDataProvider
7373 this . modifiedMethodSignatures !== modifiedMethodSignatures
7474 ) {
7575 this . methods = methods ;
76- this . sortedTreeItems = createTreeItems (
77- sortMethodsInGroups ( methods , mode ) ,
78- ) ;
76+ this . sortedTreeItems = createTreeItems ( createGroups ( methods , mode ) ) ;
7977 this . databaseItem = databaseItem ;
8078 this . sourceLocationPrefix =
8179 await this . databaseItem . getSourceLocationPrefix ( this . cliServer ) ;
@@ -246,7 +244,7 @@ function urlValueResolvablesAreEqual(
246244 return false ;
247245}
248246
249- function sortMethodsInGroups ( methods : readonly Method [ ] , mode : Mode ) : Method [ ] {
247+ function createGroups ( methods : readonly Method [ ] , mode : Mode ) : Method [ ] {
250248 const grouped = groupMethods ( methods , mode ) ;
251249 return sortGroupNames ( grouped ) . flatMap ( ( groupName ) => grouped [ groupName ] ) ;
252250}
You can’t perform that action at this time.
0 commit comments