Skip to content

Commit

Permalink
exclude flutter from dart analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Dec 21, 2023
1 parent 90ea893 commit 785639b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include: package:lints/recommended.yaml
analyzer:
exclude:
- lib/generated/**
- examples/flutter_chat_app/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints
Expand Down
2 changes: 1 addition & 1 deletion examples/topics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main() async {
print("Publish error: ${result.errorCode} ${result.message}");
}

var sub = await topicClient.subscribe("cache", "topic");
var sub = topicClient.subscribe("cache", "topic");
switch (sub) {
case TopicSubscription():
print("Successful subscription!");
Expand Down

0 comments on commit 785639b

Please sign in to comment.