Skip to content

Commit 6223ff8

Browse files
chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /example (#75)
* chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /example Bumps [very_good_analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/VeryGoodOpenSource/very_good_analysis/releases) - [Changelog](https://github.com/VeryGoodOpenSource/very_good_analysis/blob/main/CHANGELOG.md) - [Commits](VeryGoodOpenSource/very_good_analysis@v6.0.0...v7.0.0) --- updated-dependencies: - dependency-name: very_good_analysis dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * update analysis file * fix analysis warning --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra <[email protected]>
1 parent bc11a70 commit 6223ff8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

example/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:very_good_analysis/analysis_options.6.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml
22
analyzer:
33
exclude: ["lib/r13n/arb/gen/*.g.dart"]
44
linter:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
dev_dependencies:
1515
flutter_test:
1616
sdk: flutter
17-
very_good_analysis: ^6.0.0
17+
very_good_analysis: ^7.0.0
1818

1919
flutter:
2020
uses-material-design: true

lib/src/regionalizations.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ class _RegionalizationsState extends State<Regionalizations> {
140140
final delegate = delegates[i];
141141
final oldDelegate = oldDelegates[i];
142142
if (delegate.runtimeType != oldDelegate.runtimeType ||
143-
delegate.shouldReload(oldDelegate)) return true;
143+
delegate.shouldReload(oldDelegate)) {
144+
return true;
145+
}
144146
}
145147
return false;
146148
}

0 commit comments

Comments
 (0)