Skip to content

Boolean and Numeric env variables are not casted properly #544

@ajcastro

Description

@ajcastro

I tried IS_BOOL=true but when I console.log(process.env.IS_BOOL); it displays a string "true" but it should be casted to boolean true.

I also tried IS_NUM=10 and it is a string "10" but it should be numeric 10.
I also tried IS_FLOAT=10.5 and it is a string "10.5" but it should be a float 10.5.

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