Skip to content

Commit

Permalink
fix: follow up #330 (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaugold authored Jun 21, 2022
1 parent c7be523 commit f6eec0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/melos/lib/src/package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class PackageMap {
final resolvedPath = await entity.resolveSymbolicLinks();
pubspecsByResolvedPath[resolvedPath] = entity;
} else if (entity is Directory &&
isPackageDirectory(entity) &&
isPackageDirectory(entity.path) &&
isIncluded) {
final pubspecPath = p.join(path, 'pubspec.yaml');
pubspecsByResolvedPath[pubspecPath] = File(pubspecPath);
Expand Down

0 comments on commit f6eec0a

Please sign in to comment.