Fix examples of content

This commit is contained in:
Brandon Keepers 2016-12-07 09:47:10 -06:00
parent 65c00d689c
commit 8411487998
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ on('issues.opened')
return !event.issue.body.match(/### Steps to Reproduce/) return !event.issue.body.match(/### Steps to Reproduce/)
|| event.issue.body.includes('- [ ]') || event.issue.body.includes('- [ ]')
}) })
.comment.contents('.github/MISSING_ISSUE_TEMPLATE_AUTOREPLY.md') .comment(contents('.github/MISSING_ISSUE_TEMPLATE_AUTOREPLY.md'))
.label('insufficient-info') .label('insufficient-info')
.close(); .close();
``` ```
@ -37,7 +37,7 @@ on('issues.labeled')
```js ```js
on('issues.opened', 'pull_request.opened') on('issues.opened', 'pull_request.opened')
.filter.firstTimeContributor() // plugins could implement conditions like this .filter.firstTimeContributor() // plugins could implement conditions like this
.comment.contents('.github/NEW_CONTRIBUTOR_TEMPLATE.md'); .comment(contents('.github/NEW_CONTRIBUTOR_TEMPLATE.md'));
``` ```
### Auto-close new pull requests ### Auto-close new pull requests