File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
lib/analyzer/applications Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -226,14 +226,20 @@ async function tryBuildDepGraphFromPnpmStore(
226226 const seen = new Set < string > ( ) ;
227227 for ( const pkgJsonPath of pnpmPackageJsons ) {
228228 const content = filePathToContent [ pkgJsonPath ] ;
229- if ( ! content ) { continue ; }
229+ if ( ! content ) {
230+ continue ;
231+ }
230232
231233 try {
232234 const pkg : { name ?: string ; version ?: string } = JSON . parse ( content ) ;
233- if ( ! pkg . name || ! pkg . version ) { continue ; }
235+ if ( ! pkg . name || ! pkg . version ) {
236+ continue ;
237+ }
234238
235239 const nodeId = `${ pkg . name } @${ pkg . version } ` ;
236- if ( seen . has ( nodeId ) ) { continue ; }
240+ if ( seen . has ( nodeId ) ) {
241+ continue ;
242+ }
237243 seen . add ( nodeId ) ;
238244
239245 builder . addPkgNode ( { name : pkg . name , version : pkg . version } , nodeId ) ;
Original file line number Diff line number Diff line change 88 "no-bitwise" : false ,
99 "max-classes-per-file" : false ,
1010 "no-console" : false ,
11- "variable-name" : false
11+ "variable-name" : false ,
12+ "no-unnecessary-initializer" : false
1213 }
1314}
You can’t perform that action at this time.
0 commit comments