Skip to content

Just a question about the if order #163

@simwai

Description

@simwai

Heyo, I have read through the source code today, and I was wondering why

if (process.platform === 'win32') { ... }

on line 112 is before the env variable ifs starting from line 142. I thought the env variables should have the highest priority and not which platform is used. Would be really nice, if you could enlighten me here.

Thanks for your time in previous. :)
Keep it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions