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:
Brandon Keepers 2017-06-16 11:15:04 -07:00
parent 91c1472f34
commit 6571218cfe
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 0 additions and 5 deletions

View File

@ -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.