Skip to content

How can I detect if corepack is already enabled? #113

@styfle

Description

@styfle

If we were to programmatically enable corepack, we would want to disable after the work is complete.

However, if the user already had corepack enabled, then we wouldn't want to disable it.

Is there a way to get the current state to determine if its already enabled?

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