Skip to content

Relax the -p flag requirement #375

@nabuskey

Description

@nabuskey

Currently, the -p flag fails if you specify a file. Since we changed the name of the flag to no longer reference a directory, we can probably change it so it does not fail.

./idpbuilder create -p /tmp/minio.yaml
Error: given path is not a directory. /tmp/minio.yaml

return "", fmt.Errorf("given path is not a directory. %s", absPath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions