Skip to content

Improvement on filename() method #83

Description

@saiema

When calling Dotenv.configure().filename(F), there is no check if F is an absolute path, leading to always prepending ./, except of course directory() is called with "" as argument.

I don't believe this to be a bug, but this could be improved with a simple check on the filename argument.

Kind regards,

Simon.

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