Skip to content

bug(cli): mode flag accepts any value #1282

@snitin315

Description

@snitin315

Describe the bug

--mode is accepting any value and outputs development build. I can pass --mode=abcd , and it produces the build(development).

Screenshot from 2020-02-28 15-33-34

Expected behavior
It should accept only production , development or none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions