Skip to content

Commit

Permalink
chore(deps): update flutter_lints to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and vareversat committed May 13, 2024
1 parent ab0d461 commit 8fa065f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lib/bloc/forecast/forecast_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ class ForecastBloc extends Bloc<ForecastEvent, ForecastState> {
);
}
}
} catch (_) {
} catch (e) {
// ignore: invalid_use_of_visible_for_testing_member
emit(state.copyWith(
status: ForecastStatus.failure,
message: _.toString(),
message: e.toString(),
));
}
}
Expand Down Expand Up @@ -163,10 +163,10 @@ class ForecastBloc extends Bloc<ForecastEvent, ForecastState> {
offset: state.offset + Const.forecastLimit,
),
);
} catch (_) {
} catch (e) {
emit(state.copyWith(
status: ForecastStatus.failure,
message: _.toString(),
message: e.toString(),
));
}
}
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "4.0.0"
flutter_local_notifications:
dependency: "direct main"
description:
Expand Down Expand Up @@ -489,10 +489,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
logging:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter_lints: ^4.0.0
flutter_launcher_icons: ^0.13.0
bloc_test: ^9.1.1
mockito: ^5.4.0
Expand Down

0 comments on commit 8fa065f

Please sign in to comment.