Skip to content

flutter build is returning zero, should return not zero ? #5797

@sethladd

Description

@sethladd

flutter build doesn't do anything other than print the help. We might not want to return zero there. Instead, I'd expect some non-zero code.

For example, this will run the second command, which I didn't expect:

flutter build && flutter install

The second command should not run because the first was not successful, however the first command returned zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions