[flutter_plugin_tools] Adjust diff logging (#4312)

This commit is contained in:
stuartmorgan
2021-09-03 19:01:04 -04:00
committed by GitHub
parent 4f63c43ce7
commit 8d5bf5953e
5 changed files with 28 additions and 10 deletions

View File

@ -314,6 +314,9 @@ abstract class PluginCommand extends Command<void> {
if (runOnChangedPackages) {
final GitVersionFinder gitVersionFinder = await retrieveVersionFinder();
final String baseSha = await gitVersionFinder.getBaseSha();
print(
'Running for all packages that have changed relative to "$baseSha"\n');
final List<String> changedFiles =
await gitVersionFinder.getChangedFiles();
if (!_changesRequireFullTest(changedFiles)) {