Skip to content

Commit ae988c8

Browse files
committed
Case insensitivity for issue ids
1 parent 90b34a0 commit ae988c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/linear/commands/issue/list.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def call(ids:, **options)
3838

3939
def issues_for(options)
4040
logger.debug('Fetching issues', options:)
41-
return options[:ids].map { |id| Rubyists::Linear::Issue.find(id) } if options[:ids]
41+
return options[:ids].map { |id| Rubyists::Linear::Issue.find(id.upcase) } if options[:ids]
4242
return Rubyists::Linear::Issue.all(filter: { assignee: { null: true } }) if options[:unassigned]
4343
return Rubyists::Linear::User.me.issues if options[:mine]
4444

0 commit comments

Comments
 (0)