Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

The plugin doesn't work if dangerfile is not transpiled #26

@mgol

Description

@mgol

If you set the DANGER_DISABLE_TRANSPILATION environment variable to "true" to avoid transpilation, dangerfile.js is executed directly via Node.js. In that case, this plugin doesn't work as it only exposes transpiled sources which uses the regeneratorRuntime global that won't exist for untranspiled sources.

It'd help if you also exported untranspiled source in the npm package. Modern Node.js versions should understand it without any issues.

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