Skip to content

Main function not returning when path is missing #5

@omalk98

Description

@omalk98

At line 62

The following code checks for the existence of the path variable but only prints a message instead of returning.
this issue is caught in the following if condition but should not be allowed to pass to that stage if the input is missing.

fix:

if not args.path:
        parser.error("the following arguments are required: path")
        return

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions