mirror of
https://github.com/flutter/packages.git
synced 2025-06-08 21:09:17 +08:00
[tools] Convert test utils to RepositoryPackage (#5605)
This commit is contained in:
@ -384,7 +384,7 @@ ${indentation}HTTP response: ${pubVersionFinderResponse.httpResponse.body}
|
||||
final Version fromPubspec = pubspec.version!;
|
||||
|
||||
// get first version from CHANGELOG
|
||||
final File changelog = package.directory.childFile('CHANGELOG.md');
|
||||
final File changelog = package.changelogFile;
|
||||
final List<String> lines = changelog.readAsLinesSync();
|
||||
String? firstLineWithText;
|
||||
final Iterator<String> iterator = lines.iterator;
|
||||
|
Reference in New Issue
Block a user