File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class PubDependencies extends ArtifactSet {
98
98
return false ;
99
99
}
100
100
for (final Package package in packageConfig.packages) {
101
- if (! fileSystem.directory (package.packageUriRoot ).existsSync ()) {
101
+ if (! fileSystem.directory (package.root). childFile ( 'pubspec.yaml' ).existsSync ()) {
102
102
return false ;
103
103
}
104
104
}
Original file line number Diff line number Diff line change @@ -936,7 +936,7 @@ void main() {
936
936
937
937
expect (await pubDependencies.isUpToDate (fileSystem), false ); // dependencies are missing.
938
938
939
- fileSystem.file ('.pub-cache/hosted/pub.dartlang.org/example-7.0.0/lib/foo.dart ' )
939
+ fileSystem.file ('.pub-cache/hosted/pub.dartlang.org/example-7.0.0/pubspec.yaml ' )
940
940
.createSync (recursive: true );
941
941
942
942
expect (await pubDependencies.isUpToDate (fileSystem), true );
You can’t perform that action at this time.
0 commit comments