Skip to content

Commit

Permalink
Corrects arguments for gimme_da_issue!
Browse files Browse the repository at this point in the history
  • Loading branch information
bougyman committed Apr 15, 2024
1 parent 1ad36f8 commit 18193a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ PreCommit:
enabled: true
BundleOutdated:
enabled: true

3 changes: 1 addition & 2 deletions lib/linear/commands/issue/take.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ class Take
argument :issue_ids, type: :array, required: true, desc: 'Issue Identifiers'

def call(issue_ids:, **options)
me = Rubyists::Linear::User.me
updates = issue_ids.map do |issue_id|
gimme_da_issue! issue_id, me # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
gimme_da_issue! issue_id # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
rescue NotFoundError => e
logger.warn e.message
next
Expand Down

0 comments on commit 18193a3

Please sign in to comment.