Skip to content

Commit 4a7b7c4

Browse files
committed
Using spaces instead of newlines in description. Argh
1 parent 18a88e5 commit 4a7b7c4

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
linear-cli (0.3.12)
4+
linear-cli (0.4.0)
55
base64 (~> 0.2)
66
dry-cli (~> 1.0)
77
dry-cli-completion (~> 1.0)

lib/linear/cli/sub_commands.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ def prompt
3838
end
3939

4040
def team_for(key = nil)
41-
return Team.find(key) if key
41+
return Rubyists::Linear::Team.find(key) if key
4242

4343
ask_for_team
4444
end
4545

4646
def description_for(description = nil)
4747
return description if description
4848

49-
prompt.multiline('Description:')
49+
prompt.multiline('Description:').join(' ')
5050
end
5151

5252
def title_for(title = nil)

lib/linear/commands/issue.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def make_da_issue!(**options)
2323
title = title_for options[:title]
2424
description = description_for options[:description]
2525
team = team_for options[:team]
26-
require 'pry'; binding.pry
2726
labels = labels_for team, options[:labels]
2827
Rubyists::Linear::Issue.create(title:, description:, team:, labels:)
2928
end

0 commit comments

Comments
 (0)