Skip to content

App default NULL config throws a warning  #3

@lotfio

Description

@lotfio

using the example given in the README.md to start minicli. I had the following error:

image

This is because you are appending a null to the config array by default and no config is passed when instantiating.

image

using an empty array as a default value solves the problem and suites better as the type hint is an array

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions