File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,15 @@ export class RustDependenciesProvider
8585 ) ;
8686 const crates = dependenciesResult . crates ;
8787
88- return crates . map ( ( crate ) => {
89- const dep = this . toDep ( crate . name || "unknown" , crate . version || "" , crate . path ) ;
90- this . dependenciesMap [ dep . dependencyPath . toLowerCase ( ) ] = dep ;
91- return dep ;
92- } ) . sort ( ( a , b ) => {
93- return a . label . localeCompare ( b . label )
94- } ) ;
88+ return crates
89+ . map ( ( crate ) => {
90+ const dep = this . toDep ( crate . name || "unknown" , crate . version || "" , crate . path ) ;
91+ this . dependenciesMap [ dep . dependencyPath . toLowerCase ( ) ] = dep ;
92+ return dep ;
93+ } )
94+ . sort ( ( a , b ) => {
95+ return a . label . localeCompare ( b . label ) ;
96+ } ) ;
9597 }
9698
9799 private toDep ( moduleName : string , version : string , path : string ) : Dependency {
You can’t perform that action at this time.
0 commit comments