Merge pull request #2065 from ojeytonwilliams/fix/update-task

fix: convert hash to keyword args
pull/2077/head
Simon Legner 1 year ago committed by GitHub
commit 245ea08198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -174,7 +174,7 @@ class UpdatesCLI < Thor
order: 'desc' order: 'desc'
} }
matching_issues = github_get('/search/issues', search_params) matching_issues = github_get('/search/issues', **search_params)
previous_issue = matching_issues['items'].find {|item| item['number'] != created_issue['number']} previous_issue = matching_issues['items'].find {|item| item['number'] != created_issue['number']}
if previous_issue.nil? if previous_issue.nil?

Loading…
Cancel
Save