Comparing version 1.0.0 to 1.0.1
@@ -91,5 +91,8 @@ #!/usr/bin/env node | ||
since: $ae7db89238f23fb5$var$argv.since, | ||
until: $ae7db89238f23fb5$var$argv.until | ||
until: $ae7db89238f23fb5$var$argv.until, | ||
state: "all" | ||
}; | ||
const issues = $ae7db89238f23fb5$var$argv.issues && (await $ae7db89238f23fb5$var$octokit.rest.issues.listForRepo(params)).data; | ||
// The issues endpoint also returns pull requests, and it doesn't seem possible to filter them out in the | ||
// request. | ||
const issues = $ae7db89238f23fb5$var$argv.issues && (await $ae7db89238f23fb5$var$octokit.rest.issues.listForRepo(params)).data.filter((i)=>!i.pull_request); | ||
const pulls = $ae7db89238f23fb5$var$argv.pulls && (await $ae7db89238f23fb5$var$octokit.rest.pulls.list(params)).data; | ||
@@ -96,0 +99,0 @@ // Unfortunately, there is no way to filter releases by date. |
{ | ||
"name": "ghtivity", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A command-line tool for displaying the activity in GitHub repositories in a certain time frame.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
26276
124