Skip to content

Commit

Permalink
Update packages/core/scanner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec authored Feb 10, 2025
1 parent 8dca14e commit fececd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ export class DependenciesScanner {

public calculateModulesDistance() {
const modulesGenerator = this.container.getModules().values();
// Skip "InternalCoreModule" from calculating distance
// Skip "InternalCoreModule"
// The second element is the actual root module
modulesGenerator.next();

const rootModule = modulesGenerator.next().value!;
Expand Down

0 comments on commit fececd2

Please sign in to comment.