Skip to content

Commit 2024411

Browse files
committed
chore(tests): remove unnecessary mandatory fields from gh parser
1 parent f9239a3 commit 2024411

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

parser.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ var GitHub = (function () {
3131
gh_parser.prototype.extract = function () {
3232
if (!(this.payload.repository &&
3333
this.payload.repository.full_name &&
34-
this.payload.repository.url &&
35-
this.payload.head_commit &&
36-
this.payload.head_commit.message &&
37-
this.payload.sender &&
38-
this.payload.sender.avatar_url &&
3934
this.payload.ref)) {
4035
return undefined;
4136
}

0 commit comments

Comments
 (0)