cake-contrib / Cake.Flutter

Cake addin providing Flutter support
https://cakebuild.net/extensions/cake-flutter
MIT License
0 stars 2 forks source link

FlutterAnalyzeWithResult not returning results #5

Open AlbertoMonteiro opened 4 years ago

AlbertoMonteiro commented 4 years ago

When I use FlutterAnalyzeWithResult and there is issues returned by the flutter analyze the method fails and does not even return.

Expected Behavior

The FlutterAnalyzeWithResult should return the collection of lines of the output from the flutter analyze

Current Behavior

The FlutterAnalyzeWithResult throws an error and do not allow me to handle the output

Possible Solution

Idk, but I may help, I don't know how the generic runner works

Steps to Reproduce (for bugs)

  1. Create a single task with FlutterAnalyzeWithResult(new FlutterAnalyzeSettings());
  2. In the flutter project, create some class that is not used
  3. Run the cake task

Context

I would like to get the output from the flutter analyze and send to pull request

Your Environment

<?xml version="1.0" encoding="utf-8"?>
<packages>
    <package id="Cake" version="0.37.0" />
</packages>
MihaMarkic commented 3 years ago

Sorry for long delay. It's odd. My current theory is that it's because flutter analyze draws output line.