File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def do-work [] {
29
29
let query_string = $" ($query_prefix )($row.repo )($query_suffix )"
30
30
# this is for debugging the rate limit. comment it out if things are working well
31
31
# fetch -u $env.GITHUB_USERNAME -p $env.GITHUB_PASSWORD https://api.github.com/rate_limit | get resources | select core.limit core.remaining graphql.limit graphql.remaining integration_manifest.limit integration_manifest.remaining search.limit search.remaining
32
- let site_json = (fetch - u $env .GITHUB_USERNAME - p $env .GITHUB_PASSWORD $query_string | get items | select html_url user.login title )
32
+ let site_json = (http get - u $env .GITHUB_USERNAME - p $env .GITHUB_PASSWORD $query_string | get items | select html_url user.login title )
33
33
34
34
$" ## ($row.site )(char nl )(char nl )"
35
35
if ($site_json | all {|it | $it | is-empty }) {
@@ -40,7 +40,7 @@ def do-work [] {
40
40
let pr_count = ($row.prs | length )
41
41
42
42
# only print the comma if there's another item
43
- let user_prs = ($row.prs | each - n { |pr |
43
+ let user_prs = ($row.prs | enumerate | each { |pr |
44
44
if $pr_count == ($pr.index + 1 ) {
45
45
$" [($pr.item.title )](char lparen )($pr.item.html_url )(char rparen )"
46
46
} else {
You can’t perform that action at this time.
0 commit comments