Skip to content

BUG: Project.discover() not set when Lektor loaded with --project ARG #291

@mountainash

Description

@mountainash

It seems that if the path to the Lektor project file is set but using the --project argument, Project.discover() (used for packages) is been set to "None", yet using the ENV LEKTOR_PROJECT alternative, as described in https://www.getlektor.com/docs/cli/ seems to work (I would have thought that they should both function, at the discover method, in the same way).

File: https://github.com/lektor/lektor-website/blob/master/content/docs/api/project/discover/contents.lr

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions