forked from mirrors/probot
Remove getter for backward compatability
This is actually causing an error, so just going to assume that the bump to 0.7.0 is enough to communicate the breaking change
This commit is contained in:
parent
91c1472f34
commit
6571218cfe
|
@ -11,11 +11,6 @@ class Context {
|
|||
this.github = github;
|
||||
}
|
||||
|
||||
get event() {
|
||||
console.warn('DEPRECATED: All properties of `context.event` are now directly available on `context` (e.g. `context.payload.sender`).');
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the `owner` and `repo` params for making API requests against a
|
||||
* repository.
|
||||
|
|
Loading…
Reference in New Issue