-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
I'm working on a plugin in which I want to do something conditionally in the verify step, iff we're in dryRun.
Based on the types definition, it looks like Options has the dryRun attribute I'd need. And based on the implementation of run, it looks like the context passed to verify has an options attribute. However, none of the context interfaces define that options attribute, which I assume is why my editor doesn't like me trying to use it in type script...
Do I have all that right? Is that a bug in the type definition? Or an intentional omission in the public API? What is the recommended way for a plugin to know if it's being executed in dryRun mode?