Skip to content

getEnvConfigFilePath method in config.server.ts always returns a file path even if the file does not exist #4775

@saschaszott

Description

@saschaszott

Problem Description

The method getEnvConfigFilePath in config.server.ts always returns a file path, even if the configuration file does not exist. It should instead return null or undefined in such cases.

const getEnvConfigFilePath = (env: Environment) => {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions