Unverified Commit fa52f345 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

fix for sometimes packages file is an APK (#29456)

parent cd803ac7
......@@ -946,6 +946,10 @@ abstract class ResidentRunner {
if (device.package.packagesFile == null || !device.package.packagesFile.existsSync()) {
return true;
}
// why is this sometimes an APK.
if (!device.package.packagesFile.path.contains('.packages')) {
return true;
}
// Leave pubspec null to check all dependencies.
final ProjectFileInvalidator projectFileInvalidator = ProjectFileInvalidator(device.package.packagesFile.path, null);
projectFileInvalidator.findInvalidated();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment