Skip to content

Unrwap on Option::None when no schema files are given #365

Description

@nicklaswj

Calling planus-cli with planus rust -o foo (i.e. with not .fbs schema file(s)) will result in the panic:

The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /home/nicklas/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/planus-types-1.3.0/src/intermediate.rs:144

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions