From 45508dba7fc1f751c45855fc1467d87eafc812c7 Mon Sep 17 00:00:00 2001 From: Polina Cherkasova Date: Tue, 8 Oct 2024 14:51:22 -0700 Subject: [PATCH 1/3] Update analysis_options.yaml --- pkgs/leak_tracker/analysis_options.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/leak_tracker/analysis_options.yaml b/pkgs/leak_tracker/analysis_options.yaml index 4126226d..3f987d9e 100644 --- a/pkgs/leak_tracker/analysis_options.yaml +++ b/pkgs/leak_tracker/analysis_options.yaml @@ -10,3 +10,4 @@ linter: - avoid_print - sort_constructors_first - sort_unnamed_constructors_first + - curly_braces_in_flow_control_structures: false From 034c722dfb912acf182bcbfbdc221feb34ac5645 Mon Sep 17 00:00:00 2001 From: Polina Cherkasova Date: Tue, 8 Oct 2024 14:55:45 -0700 Subject: [PATCH 2/3] Update testing.dart --- pkgs/leak_tracker_flutter_testing/lib/src/testing.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/leak_tracker_flutter_testing/lib/src/testing.dart b/pkgs/leak_tracker_flutter_testing/lib/src/testing.dart index 35a09727..69e1b8b6 100644 --- a/pkgs/leak_tracker_flutter_testing/lib/src/testing.dart +++ b/pkgs/leak_tracker_flutter_testing/lib/src/testing.dart @@ -43,7 +43,9 @@ void maybeSetupLeakTrackingForTest( void maybeTearDownLeakTrackingForTest() { if (!LeakTesting.enabled || !LeakTracking.isStarted || - LeakTracking.phase.ignoreLeaks) return; + LeakTracking.phase.ignoreLeaks) { + return; + } LeakTracking.phase = const PhaseSettings.ignored(); } From 70140c695d2f4e3084c8d419bd7ca66a22e91dc9 Mon Sep 17 00:00:00 2001 From: Polina Cherkasova Date: Tue, 8 Oct 2024 14:59:58 -0700 Subject: [PATCH 3/3] Update analysis_options.yaml --- pkgs/leak_tracker/analysis_options.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/leak_tracker/analysis_options.yaml b/pkgs/leak_tracker/analysis_options.yaml index 3f987d9e..4126226d 100644 --- a/pkgs/leak_tracker/analysis_options.yaml +++ b/pkgs/leak_tracker/analysis_options.yaml @@ -10,4 +10,3 @@ linter: - avoid_print - sort_constructors_first - sort_unnamed_constructors_first - - curly_braces_in_flow_control_structures: false