modular_test: prepare for curly_braces lint change

This aligns this code better with Effective Dart and prepares for the
upcoming lint rule change at https://dart-review.googlesource.com/c/sdk/+/353140.

Change-Id: Ibfb4736ae01a6e2d843f9faf19eba08c16ff6c92
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353222
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Sam Rawlins 2024-02-20 17:56:29 +00:00 committed by Commit Queue
parent 22520f43f9
commit 35075c1c22

View file

@ -158,7 +158,9 @@ abstract class Pipeline<S extends ModularStep> {
if ((step.onlyOnMain && !module.isMain) ||
(step.onlyOnSdk && !module.isSdk) ||
(step.notOnSdk && module.isSdk)) return;
(step.notOnSdk && module.isSdk)) {
return;
}
// Include only requested data from transitive dependencies.
Map<Module, Set<DataId>> visibleData = {};