forked from firka/flutter
check for pubspec instead of lib/ (#107968)
This commit is contained in:
@@ -98,7 +98,7 @@ class PubDependencies extends ArtifactSet {
|
||||
return false;
|
||||
}
|
||||
for (final Package package in packageConfig.packages) {
|
||||
if (!fileSystem.directory(package.packageUriRoot).existsSync()) {
|
||||
if (!fileSystem.directory(package.root).childFile('pubspec.yaml').existsSync()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user