Update pod repo to pull the latest Flutter pods in plugin_lint_mac (#112237)

This commit is contained in:
Jenn Magder 2022-09-28 11:14:52 -07:00 committed by GitHub
parent 92815c9f10
commit 86e510137b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,12 @@ Future<void> main() async {
section('Lint integration_test');
await inDirectory(tempDir, () async {
// Update pod repo.
await exec(
'pod',
<String>['repo', 'update'],
);
// Relative to this script.
final String flutterRoot = path.dirname(path.dirname(path.dirname(path.dirname(path.dirname(path.fromUri(Platform.script))))));
print('Flutter root at $flutterRoot');