Skip to content

Commit

Permalink
🚨 Analyze repos with fatal infos (cfug#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Mar 29, 2023
1 parent 7664127 commit d75aaaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
sdk: stable
- name: Analyze
run: dart pub get && dart analyze
run: dart pub get && dart analyze --fatal-infos

analyze_flutter:
needs: format
Expand All @@ -73,7 +73,7 @@ jobs:
cache: true
channel: stable
- name: Analyze
run: flutter pub get && flutter analyze
run: flutter pub get && flutter analyze --fatal-infos

test_dio:
needs: [analyze, analyze_flutter]
Expand Down
4 changes: 2 additions & 2 deletions plugins/http2_adapter/lib/src/connection_manager_imp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class _ConnectionManager implements ConnectionManager {

final completerProxyInitialization = Completer<void>();

Never _onProxyError(Object? error, StackTrace stackTrace) {
Never onProxyError(Object? error, StackTrace stackTrace) {
throw DioError(
requestOptions: options,
error: error,
Expand All @@ -178,7 +178,7 @@ class _ConnectionManager implements ConnectionManager {
);
}

completerProxyInitialization.future.onError(_onProxyError);
completerProxyInitialization.future.onError(onProxyError);

final proxySubscription = proxySocket.listen(
(event) {
Expand Down

0 comments on commit d75aaaf

Please sign in to comment.