This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
[Question] Different output for same code in pipeline? #842
Closed
Description
If I locally run flutter pub global run dart_code_metrics:metrics analyze --fatal-style --fatal-performance --fatal-warnings lib
with rules in the analysis_options.yaml in place, I don't receive warnings anymore since I have resolved all of them. But when the same command is executed inside a step of the bitbucket-pipeline.yaml I receive 46 warnings, most of them avoid-dynamic.
When I check the linked line of code there's no dynamic type used. That are just lines like: class Museum with EquatableMixin {
Why is there this difference in the pipeline? Is there anything I can adjust to get the command running properly in the pipeline?