[flutter_tools] bypass pubspec yaml content check when running pubdependencies (#66559)

Otherwise the heuristics we have may decide to skip running pub. We should consider reducing the number of dimensions of caching here to a single check optimized for the run/test case.
This commit is contained in:
Jonah Williams
2020-09-24 12:51:18 -07:00
committed by GitHub
parent ee6d4c6590
commit b9274c7c60
2 changed files with 5 additions and 1 deletions

View File

@@ -744,6 +744,8 @@ void main() {
context: PubContext.pubGet,
directory: 'packages/flutter_tools',
generateSyntheticPackage: false,
skipPubspecYamlCheck: true,
checkLastModified: false,
)).called(1);
});
}