Skip to content

REPL does not include any current Dangerfile context #237

Open
@orta

Description

When using something like: yarn danger -- pr https://github.com/artsy/emission/pull/499 --repl

It currently doesn't matter what you've set up in your Dangerfile, it won't pass on the local context in the form of consts, functions et al. This threw me off, had to C&P a bunch of work before I could dig in.

Ideally the REPL's context would include all of the Dangerfile's current context. Maybe we can include some text beforehand saying how to use the repl too.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions