Skip to content

Don't touch all the envs when not in CI #139

@karl-run

Description

@karl-run

I'm running a app whose framework transitively uses ci-info in deno with strict permissions. Even at app startup the runtime server triggers a all the vendors' env variables which creates a noisy deno permission configuration.

I see the exports.isCi has the following:

   env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'

Which is nice, but vendors.forEach(function (vendor) { still hit every variable.

Maybe something similar could be done when explicitly not in CI?

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